This is the mail archive of the libstdc++@gcc.gnu.org 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]
Other format: [Raw text]

Re: Possibly uninitialized variable in include/bits/istream.tccbasic_istream::ignore


>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


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