libstdc++-v3 configure question

Benjamin Kosnik bkoz@redhat.com
Thu Apr 19 12:41:00 GMT 2001


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



More information about the Gcc mailing list