Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Tero Kivinen
Thu, 05 Nov 1992 19:07
extra warnings when using -Wshadow
Author: Tero Kivinen
Date: Thu, 05 Nov 1992 19:07
Date: Thu, 05 Nov 1992 19:07
12 lines
951 bytes
951 bytes
I think gcc shouldn't complain about this: ~>cat foo.c void f(int foo, void (*g)(int foo)); ~>gcc2 -Wshadow -c foo.c foo.c:1: warning: declaration of `foo' shadows a parameter ~>gcc2 -v Reading specs from /p/gnu/lib/gcc-lib/sparc-sun-sunos4/2.3.1/specs gcc version 2.3.1 -- Tero_Kivinen@hut.FI Work : +358-0-451 4032 Klovinrinne 6b, 02180, Espoo Home : +358-0-524 207
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads