-Wshadow -Werror

Loren James Rittle rittle@latour.rsch.comm.mot.com
Mon Jan 28 11:27:00 GMT 2002


>> Permission to synth a ChangeLog entry; perform required testing and
>> install on 3.0.X branch before 3.0.4 lockdown?
>> 
> This is also libstdc++/3561, is'nt it?
> Some time ago I checked that the warning was not really harmful, but 
> personally I think it would be a very nice idea cleaning up the code 
> removing the shadowing from the mainline code too!

I agree this is the same issue discussed in libstdc++/3561.  It is not
a harmful warning (my original position replying to Jens) unless the
user is attempting to compiler all his user code with both -Werror
-Wshadow...

Regards,
Loren



More information about the Libstdc++ mailing list