This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [v3] install backwards headers in prefix
- To: libstdc++ at sources dot redhat dot com
- Subject: Re: [v3] install backwards headers in prefix
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 15 Dec 2000 12:23:47 -0800 (PST)
- cc: gcc-patches at gcc dot gnu dot org
I'm completely opposed to special-casing iostream.h.
Furthermore, folks, we already have a macro for this stuff, see c++config.h:
// To enable older, ARM-style iostreams and other anachronisms use this.
//#define _GLIBCPP_DEPRECATED 1
Anyway. I believe the consensus (from Alexandre, Jason and I, at least)
is to install backward headers in the normal place, and warn when they
are used unless -Wno-deprecated is used.
> 2. Add a compiler option ``-iobsolete'' which adds backward/ to the
> standard search path, so this file wouldn't be seen.
This remains as the only other sane option, seemingly. I'm uncertain if
the compiler folks will agree with it though...
-benjamin