This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Possibly uninitialized variable in include/bits/istream.tccbasic_istream::ignore
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 10 Jun 2004 12:26:17 -0500
- Subject: Re: Possibly uninitialized variable in include/bits/istream.tccbasic_istream::ignore
- Organization: Red Hat / Chicago
- References: <40C7B212.6050003@aaronwl.com><20040610121948.47ce2277.bkoz@redhat.com>
>I cannot reproduce this.
>
>make WERROR="-Werror" WARN_FLAGS="-Wuninitialized" istream-inst.lo
I stand corrected. I'll put in this fix.
There are a couple somewhat related issues.
1) Why aren't WARN_FLAGS, and CC, CXX overrides working in libstdc++ anymore?
ie
make WERROR="-Werror" WARN_FLAGS="-Wuninitialized" all-target-libstdc++-v3
no longer works for WARN_FLAGS, and the defaults are used (incorrectly).
This also happens for CC and CXX.
2) Why is the default WARN_FLAG, which has -Wall, not warning for
-Wuninitialized, as documented and expected?
http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#Warning%20Options
Boo.
-benjamin