« Mount a FTP share in Ubuntu as a folder | Home | phpBB force login hack »
How to fix GCC 4.3’s removal of old headers
By admin | December 15, 2008
GCC 4.3 has many new feautures. But unfortunately, it may break many of your application as it removes legacy and backwards compactible headers. Compiling in this case may result in errors such as “error: iostream.h: No such file or directory“. This article will describe how to fix it in 3 easy steps:
- Go to http://gcc.gnu.org/gcc-4.3/porting_to.html‘s “Removal of Pre-ISO headers” section.
- For every header on the left, create it with contents of “#include <header_on_the.right>“.
- Compile your app with your regular compile arguments, adding “ -I.” to the end of it. The dot at the end is very important. Example: “g++ foo.cpp -o foo -I.“
If you found this article useful or interesting, please help Compdigitec by spreading the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!
Topics: Linux | 10 Comments »

October 27th, 2026 at 18:52
These are really fantastic ideas in concerning blogging.
You have touched some nice things here. Any way keep up wrinting.
October 27th, 2026 at 18:52
Hi there mates, fastidious piece of writing and fastidious arguments commented at this place,
I am actually enjoying by these.
October 27th, 2026 at 21:12
Wonderful article! We will be linking to this great content on our website.
Keep up the great writing.
October 27th, 2026 at 21:17
Hello there! Do you use Twitter? I’d like to follow
you if that would be okay. I’m definitely enjoying your blog and look forward
to new posts.
October 27th, 2026 at 21:30
I really like looking through a post that will make men and women think.
Also, thanks for permitting me to comment!
November 1st, 2026 at 10:52
Pretty nice post. I simply stumbled upon your blog and wished to mention that I have truly loved browsing your blog posts.
After all I will be subscribing to your rss feed and I hope you write once more soon!
November 1st, 2026 at 10:54
Wow, this post is good, my sister is analyzing such
things, so I am going to inform her.
November 1st, 2026 at 11:01
Valuable information. Fortunate me I found your website accidentally, and I am
shocked why this coincidence did not came about earlier!
I bookmarked it.
November 1st, 2026 at 12:09
Its like you read my mind! You appear to understand a lot
about this, like you wrote the e-book in it or something.
I feel that you just could do with a few p.c. to pressure the message
home a bit, but other than that, that is great blog.
A great read. I will certainly be back.
November 1st, 2026 at 12:13
I do not even understand how I ended up right here, but I assumed this publish
used to be great. I do not understand who
you’re but definitely you’re going to a famous blogger should you aren’t already.
Cheers!