ansi weirdness

Andrew Hume andrew at alice.UUCP
Mon Sep 10 12:19:32 AEST 1990



just in case i miscommunicated, when i said sloppy ansi c
compilers (gcc), i referred to its default behaviour.
otherwise, its warning messages seem exemplary:

xx.c:1: warning: `struct x' declared inside parameter list
xx.c:1: warning: its scope is only this definition or declaration,
xx.c:1: warning: which is probably not what you want.
xx.c:2: warning: `struct x' declared inside parameter list
xx.c:3: warning: `fp' initialized and declared `extern'
xx.c:3: warning: initialization between incompatible pointer types

sorry for any unintended denigration of GNU's gcc.



More information about the Comp.std.c mailing list