This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: annoying -Wshadow warning
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Doug Evans <dje at transmeta dot com>
- Cc: <gcc-bugs at gcc dot gnu dot org>
- Date: Tue, 9 Jul 2002 22:57:00 +0100 (BST)
- Subject: 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