Forward Referencing of Static Variables OK?

VLD/VMB gwyn at BRL.ARPA
Fri Oct 4 07:49:35 AEST 1985


extern int thing;
...
static int thing = 0;

is perfectly legitimate according to X3J11.
Why waste time trying to relate this to K&R (not K&P).
Point out to your compiler supplier that they're
going to have to fix this anyway.



More information about the Comp.lang.c mailing list