Compdigitec Labs

« | Home | »

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:

  1. Go to http://gcc.gnu.org/gcc-4.3/porting_to.html‘s “Removal of Pre-ISO headers” section.
  2. For every header on the left, create it with contents of “#include <header_on_the.right>“.
  3. 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 | 28 Comments »

28 Responses to “How to fix GCC 4.3’s removal of old headers”

  1. Invisalign NYC Says:
    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.

  2. dental implants NYC Says:
    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.

  3. zellige kitchen backsplash Says:
    October 27th, 2026 at 21:12

    Wonderful article! We will be linking to this great content on our website.
    Keep up the great writing.

  4. cream zellige tile Says:
    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.

  5. plumber San Fernando CA Says:
    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!

  6. ductless air conditioner repair Albuquerque Says:
    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!

  7. swamp cooler conversions Albuquerque Says:
    November 1st, 2026 at 10:54

    Wow, this post is good, my sister is analyzing such
    things, so I am going to inform her.

  8. furnace installation Albuquerque NM Says:
    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.

  9. furnace replacement Albuquerque NM Says:
    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.

  10. hot water heater repair Albuquerque Says:
    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!

  11. kitchen remodeling Greenville SC Says:
    November 3rd, 2026 at 18:13

    Yes! Finally something about home remodeling Greenville
    SC.

  12. home Renovation company Corpus Christi Says:
    November 3rd, 2026 at 18:42

    Hi there! Would you mind if I share your blog with my zynga group?
    There’s a lot of folks that I think would really enjoy your content.
    Please let me know. Many thanks

  13. landscaping Reno Says:
    November 3rd, 2026 at 18:51

    Good day! I know this is kinda off topic but I
    was wondering if you knew where I could locate a captcha plugin for
    my comment form? I’m using the same blog platform as yours and I’m having trouble finding one?
    Thanks a lot!

  14. bathroom remodeling Greenville SC Says:
    November 3rd, 2026 at 19:02

    What’s up, constantly i used to check blog posts here in the early hours in the morning,
    because i like to gain knowledge of more and more.

  15. home builder Badin Lake Says:
    November 3rd, 2026 at 19:04

    Good answer back in return of this matter with solid arguments and explaining the whole thing on the topic of that.

  16. lighting installation Akron OH Says:
    November 3rd, 2026 at 19:32

    Thank you for sharing your info. I truly appreciate your efforts
    and I will be waiting for your further write ups thank you once again.

  17. retaining wall builders Reno Says:
    November 3rd, 2026 at 19:53

    I have learn some just right stuff here. Certainly worth bookmarking for revisiting.
    I wonder how a lot attempt you put to make this type of great informative site.

  18. landscaping companies Reno NV Says:
    November 3rd, 2026 at 20:18

    Hola! I’ve been following your web site for a while now and finally got the bravery to go ahead
    and give you a shout out from Lubbock Tx! Just wanted to mention keep up the great job!

  19. home remodeling Boulder CO Says:
    November 3rd, 2026 at 20:21

    Thanks for sharing your thoughts about remodeling Boulder.
    Regards

  20. painting contractors Denver Says:
    November 3rd, 2026 at 20:46

    I constantly spent my half an hour to read this weblog’s
    posts everyday along with a mug of coffee.

  21. lighting upgrades Akron Says:
    November 3rd, 2026 at 21:21

    This post offers clear idea in support of the new viewers of blogging, that
    actually how to do blogging and site-building.

  22. home EV charger installation Salt Lake City Says:
    November 3rd, 2026 at 21:37

    Hello! This is kind of off topic but I need some guidance from an established
    blog. Is it tough to set up your own blog? I’m not
    very techincal but I can figure things out pretty fast.
    I’m thinking about making my own but I’m not sure where to begin.
    Do you have any tips or suggestions? Cheers

  23. panel upgrade Salt Lake City Says:
    November 3rd, 2026 at 21:47

    Pretty great post. I simply stumbled upon your weblog and wished to say that I’ve really enjoyed surfing around your blog posts.
    After all I will be subscribing to your feed and I am hoping you write
    once more soon!

  24. EV charger installers Akron OH Says:
    November 3rd, 2026 at 23:09

    You have made some really good points there. I checked on the net for additional information about the issue and found most people will go along with
    your views on this website.

  25. electric panel replacement Akron Ohio Says:
    November 3rd, 2026 at 23:42

    Thanks for another magnificent post. Where else may anyone get that type of info in such a perfect method of writing?
    I have a presentation subsequent week, and I’m on the search for
    such info.

  26. Titan Electric Services Akron Says:
    November 4th, 2026 at 00:10

    Hey there! I just wanted to ask if you ever have
    any problems with hackers? My last blog (wordpress) was
    hacked and I ended up losing several weeks of hard work due to no backup.
    Do you have any methods to prevent hackers?

  27. home builder Badin Lake Says:
    November 4th, 2026 at 00:55

    Hi there! I could have sworn I’ve been to this web site before but after looking at a few
    of the articles I realized it’s new to me. Regardless, I’m certainly delighted I stumbled upon it and I’ll be book-marking it and checking back often!

  28. window installation Colorado Springs Says:
    November 4th, 2026 at 02:10

    Excellent article! We are linking to this particularly great article on our website.
    Keep up the great writing.

Comments