This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++-v3 configure question



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]