------- Additional Comments From deepak at despammed dot com 2004-11-03 21:50 -------
(In reply to comment #4)
> Not a bug, you have a variable called signal which shadows the global function:
> sig(int signal) {
Agree. Is it possible to change the error message to say exactly this? For
instance, declaring a local variable under the same name as a parameter gives
this --
/home/deep/test2.c:3: warning: declaration of `bar' shadows a parameter
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18292