🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2561

Re: 3.7 constraints and 3.7.2 semantics

#2561
From: Norman Diamond
Date: Tue, 19 Mar 1991 05:00
14 lines
1226 bytes
In article <5450@mcrware.UUCP> jejones@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@tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.
Technical Details
Message-ID: <1991Mar19.050012.427@tkou02.enet.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!jrdzzz.jrd.dec.com!tkou02.enet.dec.com!jit345!diamond
References: <5450@mcrware.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!jrdzzz.jrd.dec.com!tkou02.enet.dec.com!jit345!diamond
From: diamond@jit345.swstokyo.dec.com (Norman Diamond)
Newsgroups: comp.std.c
Subject: Re: 3.7 constraints and 3.7.2 semantics
Keywords: external/tentative definitions, internal linkage
Message-ID: <1991Mar19.050012.427@tkou02.enet.dec.com>
Date: 19 Mar 91 05:00:12 GMT
References: <5450@mcrware.UUCP>
Sender: news@tkou02.enet.dec.com (USENET News System)
Reply-To: diamond@jit345.enet@tkou02.enet.dec.com (Norman Diamond)
Organization: Digital Equipment Corporation Japan , Tokyo
Lines: 14