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

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

  1. จัดดอกไม้งานศพ Says:
    October 28th, 2025 at 22:17

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

    Check out my page จัดดอกไม้งานศพ

  2. รับจัดดอกไม้หน้าศพ Says:
    October 28th, 2025 at 22:23

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

    Stop by my site รับจัดดอกไม้หน้าศพ

  3. ไวน์ Says:
    October 29th, 2025 at 06:40

    I really enjoy good glass of wine. From a local vineyard
    orr imported, it’s tthe perfect way to relax. Anyone else here love wine?
    #RedWine

    Also visit my homepage: ไวน์

  4. ดอกไม้งานวัด Says:
    October 29th, 2025 at 09:21

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

    โดยส่วนตัวเพิ่งจัดงานศพให้ผู้ใหญ่ในบ้าน การเลือกดอกไม้งานศพเลยเป็นเรื่องที่ต้องใส่ใจ
    จะบอกต่อให้เพื่อนๆ ที่ต้องการเลือกดอกไม้ไปงานศพอ่านด้วย

    Feel free to surf tto my blog; ดอกไม้งานวัด

  5. ขายไวน์ Says:
    October 29th, 2025 at 09:43

    I really enjoy good vintage wine. Whether it’s red or white, wine always makess the
    moment better. Anyone else here love wine?
    #RedWine

    my webpage – ขายไวน์

  6. Sienna Says:
    October 29th, 2025 at 10:28

    I really enjoy good glass of wine. Whether it’s red or white, it’s the perfect way
    to relax. Who else enjoys wine tasting? #WhiteWine

    Here iis my ebsite … Sienna

  7. ร้านพวงหรีดกรุงเทพ Says:
    October 29th, 2025 at 11:24

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

    Here is my page: ร้านพวงหรีดกรุงเทพ

  8. boonforal Says:
    October 29th, 2025 at 12:15

    บทความนี้ให้ข้อมูลมีประโยชน์มากเกี่ยวกับการแสดงความเคารพผู้ล่วงลับ
    พวงหรีดที่เหมาะสมช่วยแสดงความอาลัยได้อย่างสุภาพ

    ดิฉันเคยใช้บริการพวงหรีดออนไลน์
    ซึ่งทั้งสะดวกและตรงเวลา
    แนะนำสำหรับใครที่กำลังมองหาพวงหรีดครับ

    Here is my webpage :: boonforal

Comments