-Wshadow -Werror
Paolo Carlini
pcarlini@unitus.it
Mon Jan 28 09:49:00 GMT 2002
Loren James Rittle wrote:
>Here is the original report with patch:
>
>http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1973092+0+archive/2002/freebsd-ports/20020127.freebsd-ports
>
>I have reviewed the patch he provided and believe that it is
>straightforward. It merely changes the inner use of the variable name
>which is contained to a small localized scope.
>
>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!
Cheers,
Paolo.
More information about the Libstdc++
mailing list