This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: annoying -Wshadow warning


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
jsm28@cam.ac.uk


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