This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libstdc++/3561
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org
- Subject: Re: libstdc++/3561
- From: Mathieu Olivier <molivier at microids dot com>
- Date: Fri, 06 Jul 2001 12:58:09 +0200
- Organization: Microids
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3561&database=gcc
> > >How-To-Repeat:
> > Just try to use ostream with -Wshadow
>
> Nope, doesn't happen. I do see the warning (along with a few others) if
> I use "-Wshadow -Wsystem-headers", but since <ostream> is a system
header,
> warnings are suppressed by default. You must specifically request them.
>
> Phil
Really ? I mean, I even tried with just "-Wshadow -Wno-system-headers"
(no -Wall, or any other -W*) and the warning appears anyhow. :(
Mathieu Olivier