This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: libstdc++/3561


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


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