« Mount a FTP share in Ubuntu as a folder | Home | phpBB force login hack »
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:
- Go to http://gcc.gnu.org/gcc-4.3/porting_to.html‘s “Removal of Pre-ISO headers” section.
- For every header on the left, create it with contents of “#include <header_on_the.right>“.
- 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 | 18 Comments »
March 24th, 2022 at 21:09
… [Trackback]
[…] Here you will find 73123 additional Information to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
April 5th, 2022 at 20:04
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
April 12th, 2022 at 19:43
… [Trackback]
[…] Find More on to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
April 14th, 2022 at 05:49
… [Trackback]
[…] Find More to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
April 30th, 2022 at 19:54
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
July 1st, 2022 at 15:33
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
July 30th, 2022 at 20:36
… [Trackback]
[…] Find More Info here to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
August 9th, 2022 at 09:45
… [Trackback]
[…] Find More on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
August 28th, 2022 at 03:07
… [Trackback]
[…] Find More Information here to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
September 8th, 2022 at 09:39
… [Trackback]
[…] Read More on on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
October 1st, 2022 at 09:44
… [Trackback]
[…] There you will find 38432 more Info on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
October 18th, 2022 at 02:18
… [Trackback]
[…] Read More to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
October 23rd, 2022 at 23:08
… [Trackback]
[…] Info to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
October 28th, 2022 at 05:57
… [Trackback]
[…] Read More Info here on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
October 28th, 2022 at 07:23
… [Trackback]
[…] Read More on on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
December 2nd, 2022 at 19:38
… [Trackback]
[…] There you will find 98158 additional Information on that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
December 21st, 2022 at 15:31
… [Trackback]
[…] There you can find 5576 more Info to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]
January 14th, 2023 at 13:31
… [Trackback]
[…] Find More to that Topic: compdigitec.com/labs/2008/12/15/how-to-fix-gcc-43s-removal-of-old-headers/ […]