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

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

  1. ร้านดอกไม้ BoonForal Says:
    July 6th, 2026 at 15:47

    บทความนี้เกี่ยวกับพวงหรีดดอกไม้ มีสาระมาก
    กำลังค้นหาข้อมูลเรื่องนี้อยู่พอดี ถือว่าเจอบทความดีๆ เลย
    จะเก็บข้อมูลนี้ไว้ใช้แน่นอน ขอบคุณอีกครั้งครับ/ค่ะ

    My webpage; ร้านดอกไม้ BoonForal

  2. ราคาพวงหรีดดอกไม้สด Says:
    July 6th, 2026 at 20:22

    ขอบคุณสำหรับบทความดี ๆ ครับ ถ้าใครกำลังมองหาผู้ให้บริการตกแต่งงานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี ๆ ครับ

    my site ราคาพวงหรีดดอกไม้สด

  3. ร้านขายพวงหรีดกระดาษสา Says:
    July 7th, 2026 at 00:45

    ชอบแนวคิดที่แชร์ไว้ในบทความนี้ครับ ถ้าใครกำลังมองหาร้านจัดดอกไม้งานศพ ผมแนะนำลองดูร้านที่มีผลงานจริงและรีวิวดี
    ๆ ครับ

    Feel free tto visit my web blog :: ร้านขายพวงหรีดกระดาษสา

Comments