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


"Joseph S. Myers" <jsm28@cam.ac.uk> writes:

| 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.

I guess by properly, we meant dealiing with the exceptional case you
mentioned earlier.  Right? 

-- Gaby


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