libstdc++/3561

Mathieu Olivier molivier@microids.com
Fri Jul 6 03:56:00 GMT 2001


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



More information about the Gcc-bugs mailing list