This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Something's wrong with recent g++ include files
- To: edwards at disaster dot jaj dot com
- Subject: Re: Something's wrong with recent g++ include files
- From: David Ronis <ronis at ronispc dot chem dot mcgill dot ca>
- Date: Sun, 3 Dec 2000 12:31:06 -0500
- CC: gcc-bugs at gcc dot gnu dot org
- Reply-To: ronis at onsager dot chem dot mcgill dot ca
Hi Phil,
Thanks for the reply. Your suggestion about -I... worked. However,
did anybody consider how much legacy (and not-so-legacy) code this is
going to mess up? Try for example today's alpha version of ddd.
David
>The snapshots have been non-compliant up until a snapshot or so ago. :-)
>
>ISO Standard C++ only defines an <iostream> header, not an <iostream.h>.
>Please see http://gcc.gnu.org/libstdc++/17_intro/howto.html for more.
>
>If you absolutely must use <iostream.h> -- and the classes in there are
>very old, not just <iostream> with a 'using std::foo', either -- then
>you must add -I/wherever/you/installed/gcc/include/g++-v3/backward to the
>command line. Older headers are installed in the 'backward' subdirectory.
>
>