You are not logged in.
Pages: 1
I recently inherited an old C++ project that I'm trying to compile using GCC 4.4. The project includes headers in the format <iostream.h> but g++ expects the newer <iostream>. Is there some way to get g++ to be happy with the older header inlcude format?
The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github
Offline
If the definitions are the same in the old <iostream.h> and <iostream>, won't a good old sed work? I.e. switching out all occurences of <iostream.h> with <iostream> in the source files?
Offline
Yes, I could always do that, but I was hoping that there would be some option that would not require me touching the source.
The Bytebaker -- Computer science is not a science and it's not about computers
Check out my open source software at Github
Offline
Could you fix it with the --std=something argument?
Offline
Pages: 1