3.7 constraints and 3.7.2 semantics

Norman Diamond diamond at jit345.swstokyo.dec.com
Tue Mar 19 15:00:12 AEST 1991


In article <5450 at mcrware.UUCP> jejones at mcrware.UUCP (James Jones) writes:

>Does p.82, lines 13-15, imply that the following is not standard conforming,
>or does p.84, lines 31-34, provide an escape hatch?
>
>static int	i;	/* tentative definition, internal linkage */
>int woof(void) {
>	return ++i;	/* usage other than in sizeof() */
>}

Page 84, lines 31-34, appear to be designed exactly for this purpose.
--
Norman Diamond       diamond at tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.



More information about the Comp.std.c mailing list