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

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

  1. บุหรี่ terea ราคา Says:
    January 15th, 2026 at 05:13

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

    Feel free to surf to my website บุหรี่ terea ราคา

  2. บุหรี่ terea Says:
    January 15th, 2026 at 05:32

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

    Have a look at my page :: บุหรี่ terea

  3. terea iqos Says:
    January 15th, 2026 at 05:56

    ขอบคุณสำหรับบทความดีๆ ครับ

    Feel freee to surf to my blog – terea iqos

  4. บุหรี่terea Says:
    January 15th, 2026 at 05:57

    ขอบคุณสำหรับบทความดีๆ ครับ

    Look at my webb blog; บุหรี่terea

  5. บุหรี่ terea Says:
    January 15th, 2026 at 13:25

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

    My web-site บุหรี่ terea

  6. terea บุหรี่ ซื้อ ที่ไหน Says:
    January 15th, 2026 at 13:35

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

    Feel freee to visit my page; terea บุหรี่ ซื้อ ที่ไหน

  7. terea บุหรี่ ราคา Says:
    January 15th, 2026 at 13:37

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

    Also visit my blog post; terea บุหรี่ ราคา

  8. terea บุหรี่ Says:
    January 15th, 2026 at 14:10

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

    my homepage: terea บุหรี่

  9. แบรนด์ดิ้ง Says:
    January 15th, 2026 at 15:17

    บทความนี้ช่วยอธิบายได้ดีมาก โดยเฉพาะประเด็น ประเภทจอแสดงผลดิจิทัล ทำให้เห็นความแตกต่างระหว่าง ป้ายโฆษณา LED แต่ละแบบ ช่วยให้ผู้อ่านเข้าใจทั้ง คุณสมบัติจอ LED และการพิจารณา ราคาจอ LED ได้ชัดเจนขึ้น

Comments