This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: Building libstdc++-v3 and -WError
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: Building libstdc++-v3 and -WError
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Thu, 07 Sep 2000 12:43:02 +0200
- CC: libstdc++ at sources dot redhat dot com
- Organization: HERMES SoftLab
- References: <Pine.SOL.3.91.1000906175017.6511B-100000@cse.cygnus.com>
Benjamin Kosnik wrote:
>
> > I appreciate the concern of having the library free of any warnings,
> > but isn't -WError a little too hard...
>
> Hmm. I understand this problem now (ie, wctype.h + -O2 == bad)
>
> I've temporarily hacked in some nasty bits for this.
>
> I guess the options are:
>
> 1) convert the world to glibc-2.2, in which case this is fixed
> 2) disable -Werror.
3) Finally apply the -Wsystem-headers patch to GCC
http://gcc.gnu.org/ml/gcc-patches/2000-05/msg01044.html
Of course, the code base has changed "slightly" sunce May ...
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70