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

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

  1. ขายไวน์ยกลัง Says:
    November 12th, 2025 at 11:14

    Can’t get enough of good glass of wine. Doesn’t matter if it’s dry or sweet,
    it’s the perfect way to relax. Are there any wwine lovers around?
    #WineTasting

    Also visit myy homepage: ขายไวน์ยกลัง

  2. Cmosa Says:
    November 13th, 2025 at 03:53

    อ่านแล้วได้ไอเดียเพียบเลย,

    ตอนนี้ผมก็สนใจเรื่องนี้อยู่เลย
    ร้านขายดอกไม้ใกล้บ้านราคาประหยัด

    และก็เจอเว็บที่น่าสนใจมากครับ!

    เขามีดอกไม้สดใหม่ทุกวัน

    เหมาะทั้งวันเกิดและงานแต่งเลย.

    ลองเข้าไปดูได้ที่นี่
    ร้านดอกไม้ใกล้ฉันราคาถูก.

    ของจริงครับ บริการดีมาก

    Feel free to surf to my page Cmosa

  3. จัดดอกไม้หน้าศพ Says:
    November 13th, 2025 at 11:43

    ขอบคุณสำหรับบทความดีๆ เกี่ยวกับ “ดอกไม้งานศพ” ช่วยอธิบายการจัด ดอกไม้
    ให้ตรงกับความหมาย ได้ดีเลยทีเดียว ค่ะ

    Look at my site: จัดดอกไม้หน้าศพ

  4. จัดดอกไม้หน้าเมรุ Says:
    November 13th, 2025 at 13:11

    อ่านแล้วเข้าใจมากขึ้นเกี่ยวกับ “ดอกไม้งานศพ” บอกถึงวิธีเลือก พวงหรีด ได้อย่างถูกต้อง น่าสนใจมาก ค่ะ

    Feel free to surf to my website; จัดดอกไม้หน้าเมรุ

  5. ราคาพวงหรีด Says:
    November 13th, 2025 at 17:56

    บทความนี้ให้ความรู้ดีมาก

    ตอนนี้ผมกำลังมองหาข้อมูลเกี่ยวกับพวงหรีดดอกไม้สดอยู่พอดี
    เห็นว่าที่นี่บริการดีมากเลยครับ
    ไว้จะลองสั่งซื้อดู ขอบคุณสำหรับข้อมูลดีๆครับ

    Also visit my homepage; ราคาพวงหรีด

Comments