This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


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

Re: Building libstdc++-v3 and -WError


[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
 --------------------------------------------------------------------



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