This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++-v3 configure question
- To: Jeffrey A Law <law at cygnus dot com>
- Subject: Re: libstdc++-v3 configure question
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 19 Apr 2001 12:41:34 -0700 (PDT)
- cc: gcc at gcc dot gnu dot org
Yeah. I've noticed this problem too.
> Do we want the libstdc++ configury process to specify -ansi when it runs
> the compiler? Or should GCC always define _HPUX_SOURCE (seems wrong to me).
> Or should we hack up the g++ testsuite? Or is there some other direction we
> want to go to fix this problem?
the third option, which seems to make the most sense, is to have
__STRICT_ANSI__ guards on all the discovered bits in the v3 headers, so
that -ansi on the compile line will turn off all the non-standard bits in
the headers.
-benjamin