[Bug c/18292] Cannot use function name within function.

2004-11-03 Thread deepak at despammed dot com
--- 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

[Bug c/18292] Cannot use function name within function.

2004-11-03 Thread deepak at despammed dot com
--- Additional Comments From deepak at despammed dot com 2004-11-03 21:38 --- (In reply to comment #1) > I cannot reproduce this, can you attach the preprocessed source? Here is the plain source: #include extern volatile sig_atomic_t pe_connection_BAD; void sig(int signal) {

[Bug c/18292] New: Cannot use function name within function.

2004-11-03 Thread deepak at despammed dot com
at gcc dot gnu dot org ReportedBy: deepak at despammed dot com CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: Mandrake Linux 10.0 3.3.2-6mdk GCC host triplet: i586-mandrake-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18292