Building libstdc++-v3 and -WError

Theodore Papadopoulo Theodore.Papadopoulo@sophia.inria.fr
Thu Sep 7 14:22:00 GMT 2000


[Sorry for replying so late but I was not available most of the day...
 It looks like others have answered for me in the meantime... ]

Unfortunately, I'm not sure to see how Branko's patch will solve it 
(this definitely does not imply that the patch is not useful).

The problem with locale.cc and iswctype is that with glibc2.1 and -O2
iswctype is a macro so that technically the current file when the 
"offending" line is encountered is locale.cc. But maybe I'm missing 
something... If that is true, then I do not see how the patch would
cure that problem.

So I'm afraid that we remain with the other hacks: on thing that 
could be done is to have a configure test for the glibc that have the 
bug and disable -Werror only for those...

Anyhow, it seems that this will find some solution if not the best 
solution, so thanks to all of you.

--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------




More information about the Libstdc++ mailing list