rfg@ics.uci.edu (Ron Guilmette) (10/19/89)
In GCC 1.36 (on a Symmetry) I get the following warning which talks about a "data definition" even though the item in question is actually a function declaration. Script started on Wed Oct 18 15:40:53 1989 ics>att nl -ba syntax-bug.c 1 2 foo (int bar); 3 4 foo (int bar) 5 { 6 return 0; 7 } ics> ics>gcc -v -c syntax-bug.c gcc version 1.36 /usr/gnu/lib/gcc-cpp -v -undef -D__GNUC__ -Dunix -Di386 -Dsequent -D__unix__ -D__i386__ -D__sequent__ syntax-bug.c /usr/tmp/cc011787.cpp GNU CPP version 1.36 /usr/gnu/lib/gcc-cc1 /usr/tmp/cc011787.cpp -quiet -dumpbase syntax-bug.c -version -o /usr/tmp/cc011787.s GNU C version 1.36 (80386, BSD syntax) compiled by GNU C version 1.36. default target switches: -m80387 syntax-bug.c:2: warning: data definition lacks type or storage class gas -o syntax-bug.o /usr/tmp/cc011787.s ics> script done on Wed Oct 18 15:41:36 1989 // rfg