This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Building libstdc++-v3 and -WError
- To: libstdc++ at sources dot redhat dot com, Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: Building libstdc++-v3 and -WError
- From: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- Date: Thu, 07 Sep 2000 23:21:54 +0200
[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
--------------------------------------------------------------------