annoying -Wshadow warning

Joseph S. Myers
Tue Jul 9 15:06:00 GMT 2002

On Tue, 9 Jul 2002, Doug Evans wrote:

> True.  In the meantime, if everyone is agreed this particular
> variant of the warning contributes no value, can we remove it?

Doing it properly means adding extra code to keep the warning in the
special case (where the parameter name is used within its scope) where it
is useful.

This issue is a long-standing known bug (PR c/529).

Joseph S. Myers

More information about the Gcc-bugs mailing list