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 | 80 Comments »

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

  1. exterior painting Colorado Springs CO Says:
    November 10th, 2026 at 07:03

    I really like what you guys tend to be up too. This type of
    clever work and reporting! Keep up the wonderful works guys I’ve incorporated you guys to my personal blogroll.

  2. painting contractor Colorado Springs Says:
    November 10th, 2026 at 07:10

    Hi there, I enjoy reading through your article. I wanted to write a little comment to support you.

  3. painting companies Colorado Springs Says:
    November 10th, 2026 at 07:39

    Great items from you, man. I’ve take note your stuff previous to and you’re
    just too magnificent. I actually like what you have bought
    right here, really like what you’re saying and the best way
    during which you assert it. You’re making it entertaining and you continue to take care of to
    keep it sensible. I can not wait to learn much more from you.
    That is actually a wonderful web site.

  4. remodeling companies Wilmington NC Says:
    November 10th, 2026 at 07:47

    This is my first time pay a visit at here and i am actually
    impressed to read everthing at single place.

  5. surf wave pool Florida Says:
    November 10th, 2026 at 07:49

    Appreciate this post. Let me try it out.

  6. kitchen cabinet painting Colorado Springs Says:
    November 10th, 2026 at 07:50

    Keep this going please, great job!

  7. Florida wave pool Says:
    November 10th, 2026 at 08:56

    Woah! I’m really loving the template/theme
    of this site. It’s simple, yet effective. A lot of times it’s challenging to get that “perfect balance” between superb usability and visual appearance.
    I must say you have done a fantastic job with this. Additionally, the blog loads super
    quick for me on Firefox. Excellent Blog!

  8. Colorado Springs electrician Says:
    November 10th, 2026 at 09:25

    Its like you read my mind! You appear to grasp so much approximately this, like you wrote the ebook in it
    or something. I believe that you can do with a few percent to drive the message
    home a bit, however instead of that, this is wonderful blog.
    A great read. I will certainly be back.

  9. home remodeling Wilmington NC Says:
    November 10th, 2026 at 09:32

    Spot on with this write-up, I absolutely believe that this site
    needs much more attention. I’ll probably be back again to read through
    more, thanks for the info!

  10. electrical panel replacement Colorado Springs Says:
    November 10th, 2026 at 11:51

    Hi there, just became aware of your blog through Google, and found that it is really informative.
    I am gonna watch out for brussels. I will be
    grateful if you continue this in future. A lot of people will be benefited from
    your writing. Cheers!

  11. water park Florida Says:
    November 10th, 2026 at 12:40

    I’ve read a few good stuff here. Certainly price bookmarking for revisiting.
    I surprise how much attempt you place to make this type of wonderful
    informative site.

  12. EV charger installation Colorado Springs CO Says:
    November 10th, 2026 at 16:56

    Hey there! I could have sworn I’ve been to this website before
    but after browsing through some of the post I realized it’s new to
    me. Anyhow, I’m definitely happy I found it and I’ll be bookmarking and checking back frequently!

  13. Aurora water heater repair Says:
    November 14th, 2026 at 17:45

    Excellent beat ! I wish to apprentice while you amend your web site,
    how could i subscribe for a blog web site? The account helped me a acceptable deal.
    I had been a little bit acquainted of this your broadcast offered bright clear concept

  14. water heater installation Aurora CO Says:
    November 14th, 2026 at 18:05

    Hi, i read your blog from time to time and i own a similar one and i was just wondering if you get a lot of spam remarks?
    If so how do you stop it, any plugin or anything you can recommend?
    I get so much lately it’s driving me mad so any support is very much appreciated.

  15. emergency plumbing Aurora Says:
    November 14th, 2026 at 18:19

    Hi! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the
    same niche. Your blog provided us useful information to work on. You have done a marvellous job!

  16. water heater installation Aurora Says:
    November 14th, 2026 at 18:23

    I am in fact delighted to read this weblog posts which consists of tons of useful facts, thanks for providing these kinds of information.

  17. mold remediation company Plano TX Says:
    December 4th, 2026 at 18:56

    This website was… how do you say it? Relevant!! Finally I have found
    something that helped me. Thanks a lot!

  18. Visit Website Says:
    December 4th, 2026 at 19:33

    These are truly impressive ideas in about blogging.
    You have touched some good points here. Any way keep up wrinting.

  19. Danforth Roofing Contractor Says:
    December 4th, 2026 at 21:50

    Great goods from you, man. I’ve understand your stuff
    previous to and you’re just too fantastic. I really like what you
    have acquired here, certainly like what you are stating and the way in which you say it.

    You make it entertaining and you still take
    care of to keep it sensible. I can’t wait to read much more
    from you. This is actually a great web site.

  20. mold remediation company Plano TX Says:
    December 4th, 2026 at 22:23

    What’s up, yup this piece of writing is genuinely good and I have learned lot of things from it regarding blogging.
    thanks.

  21. mold remediation Plano TX Says:
    December 4th, 2026 at 22:23

    Thanks for sharing your thoughts about mold remediation Plano TX.
    Regards

  22. water damage Plano TX Says:
    December 4th, 2026 at 22:47

    I must thank you for the efforts you’ve put in writing this
    site. I really hope to see the same high-grade blog posts by you in the future as
    well. In fact, your creative writing abilities has encouraged me to get my very own blog now ;
    )

  23. tattoo artist Chico Says:
    December 4th, 2026 at 23:20

    Greetings! Very useful advice within this post! It is the
    little changes that produce the largest changes. Many thanks for sharing!

  24. tattoo artist Chico Says:
    December 4th, 2026 at 23:36

    Thank you for another great article. The place else may anybody get that type of information in such
    a perfect manner of writing? I’ve a presentation subsequent week,
    and I’m at the look for such info.

  25. plumber Van Nuys Says:
    December 4th, 2026 at 23:54

    I do believe all of the ideas you have introduced for your post.
    They are really convincing and can definitely work.
    Still, the posts are very short for newbies. May
    you please prolong them a little from subsequent time?
    Thank you for the post.

  26. emergency plumber San Fernando Says:
    December 5th, 2026 at 00:22

    Thank you a lot for sharing this with all folks you really recognize what you’re speaking approximately!
    Bookmarked. Kindly additionally visit my web site =). We can have a hyperlink trade arrangement among us

  27. mold remediation company Plano TX Says:
    December 5th, 2026 at 00:35

    Hello There. I found your blog using msn. This is an extremely well
    written article. I’ll be sure to bookmark it and come back to read
    more of your useful info. Thanks for the post. I’ll certainly return.

  28. plumber Van Nuys Says:
    December 5th, 2026 at 00:59

    Thankfulness to my father who stated to me regarding this
    blog, this website is genuinely remarkable.

  29. Danforth Roofing Contractor Says:
    December 5th, 2026 at 01:32

    I read this article fully about the difference of most recent and earlier technologies, it’s remarkable article.

  30. emergency plumber San Fernando Says:
    December 5th, 2026 at 01:42

    Hello There. I found your blog using msn. This is a
    really well written article. I will be sure to bookmark it and come back to read more of
    your useful info. Thanks for the post. I will certainly return.

Comments