[v3] Handle different versions of Solaris 8 <iso/math_iso.h>, <iso/stdlib_iso.h>

Paolo Carlini pcarlini@gmail.com
Sun Aug 28 18:16:00 GMT 2011


Hi again,

> FAIL: abi/header_cxxabi.c (test for excess errors)
> Excess errors:
> /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libstdc++-v3/include/i386-pc-solaris2.11/bits/c++config.h:167:1: error: unknown type name 'namespace'
> /var/gcc/regression/trunk/11-gcc/build/i386-pc-solaris2.11/libstdc++-v3/include/i386-pc-solaris2.11/bits/c++config.h:168:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
> 
> which is pretty obvious given that this test is supposed to be compiled as C :-)

In the meanwhile I had the time to catch up with the email and got your point (for the accidental reader: being a C testcase *any* defined __cplusplus is wrong)

Paolo



More information about the Libstdc++ mailing list