This is the mail archive of the
mailing list for the GCC project.
Re: shadowed "for" scope variables not throwing up a warning (gcc 3.1.1/cygwin)
How long ago?
Also, to what mail are you referring? It hasn't appeared on the gmane news
server, yet your reply to it has, very strange...
Q-Games, Dylan Cuthbert.
P2P internet radio - http://www.peercast.org
"Gabriel Dos Reis" <firstname.lastname@example.org> wrote in message
> Fergus Henderson <email@example.com.OZ.AU> writes:
> | However, on further investigation I see that the C++ standard requires
> | a diagnostic for examples like the one that you posted.
> | So g++ should be issuing an error, even without -Wshadow.
> | Please file a bug report (see <http://gcc.gnu.org/bugs.html>).
> At least two PRs were filled on the topic (one by myself, a loooong time
> ago). I don't know whether one more PR is necessary.
> -- Gaby