This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wshadow -Werror


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.



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