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

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

  1. บุหรี่terea Says:
    January 22nd, 2026 at 18:51

    เนื้อหาแน่นมาก ขอบคุณที่แชร์

    Feel free to surf too my blog; บุหรี่terea

  2. iqos terea Says:
    January 22nd, 2026 at 18:57

    ติดตามผลงานอยู่นะครับ

    my web-site … iqos terea

  3. terea iqos ราคา Says:
    January 22nd, 2026 at 19:17

    สุดยอดเลยครับสำหรับบทความนี้

    Also visit mmy page … terea iqos ราคา

  4. terea iqos ราคาส่ง Says:
    January 22nd, 2026 at 19:55

    เป็นข้อมูลที่ดีมากครับ

    Also visit my blog; terea iqos ราคาส่ง

  5. iqos bangkok Says:
    January 22nd, 2026 at 21:00

    สวัสดีครับ ชอบบทความนี้จัง กำลังหาข้อมูลเกี่ยวกับ iqos อยู่พอดี เป็นกำลังใจให้นะครับ

    Also visit my web site :: iqos bangkok

  6. discuss Says:
    January 22nd, 2026 at 22:25

    ทักทายครับ เขียนได้ดีมากเลยครับ ใครที่สนใจ iqos ต้องมาอ่านตรงนี้เลย จะรอติดตามบทความต่อไปนะครับ

    My page – discuss

  7. iqos Says:
    January 22nd, 2026 at 23:01

    สวัสดีจ้า ชอบบทความนี้จัง
    กำลังหาข้อมูลเกี่ยวกับ iqos อยู่พอดี ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

  8. terea iqos Says:
    January 22nd, 2026 at 23:15

    ทักทายครับ เนื้อหาแน่นปึ้ก ช่วยให้เข้าใจเรื่อง iqoks มากขึ้น เป็นกำลังใจให้นะครับ

    Stop by my web-site; terea iqos

  9. iqos terea Says:
    January 22nd, 2026 at 23:25

    สวัสดีจ้า เขียนได้ดีมากเลยครับ กำลังหาข้อมูลเกี่ยวกับ iqos อยู่พอดี ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    Look aat mmy web site; iqos terea

  10. iqos thailand Says:
    January 23rd, 2026 at 00:22

    สวัสดีครับ เนื้อหาแน่นปึ้ก กำลังหาข้อมูลเกี่ยวกับ
    iqos อยู่พอดี จะรอติดตามบทความต่อไปนะครับ

    Herre is my blog – iqos thailand

  11. terea iqos Says:
    January 23rd, 2026 at 00:30

    สวัสดีครับ บทความนี้มีประโยชน์มาก ใครที่สนใจ iqaos
    ต้องมาอ่านตรงนี้เลย ขอบคุณมากครับ

    my web-site – terea iqos

  12. iqos thailand Says:
    January 23rd, 2026 at 01:17

    สวัสดีครับ บทความนี้มีประโยชน์มาก ช่วยให้เข้าใจเรื่อง iqos มากขึ้น ขอบคุณที่แบ่งปันข้อมูลดีๆ ครับ

    my web pagfe … iqos thailand

  13. บุหรี่ terea Says:
    January 23rd, 2026 at 13:37

    สุดยอดเลยครับสำหรับบทความนี้

    Have a lookk at my homepage – บุหรี่ terea

  14. บุหรี่terea Says:
    January 23rd, 2026 at 14:08

    เขียนได้น่าสนใจมากครับ

    my homepage บุหรี่terea

  15. terea Says:
    January 23rd, 2026 at 15:44

    ติดตามผลงานอยู่นะครับ

    my page :: terea

  16. terea บุหรี่ ราคา Says:
    January 23rd, 2026 at 16:46

    ชอบบทความนี้มากครับ

    Also visit my website :: terea บุหรี่ ราคา

  17. บุหรี่ terea Says:
    January 23rd, 2026 at 16:57

    อ่านเพลินเลยครับ ขอบคุณครับ

    my web blog; บุหรี่ terea

Comments