This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: -Wshadow -Werror
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: rittle at labs dot mot dot com
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Mon, 28 Jan 2002 18:50:04 +0100
- Subject: Re: -Wshadow -Werror
- References: <200201281730.g0SHUsu84599@latour.rsch.comm.mot.com>
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.