🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2917

Re: Maximum depth of #if preprocessing directives

#2917
From: J. Eric Townsend
Date: Mon, 28 Dec 1992 17:40
23 lines
1439 bytes
"jss" == Jerry Schwarz <jss@lucid.com> writes:
jss> If a compiler can imposes arbitrary limits, is there any
jss> constraint on the nature of such limits? For example, could I
jss> impose a limit on the number of identifiers containing the
jss> sequence "xyyzz".  If not why not?

My real complaint is twofold:
 - there is no documentation of the maximum depth for the compiler in
question.
 - the producer of the compiler tends to hide behind ANSI whenever I
complain, so I was looking for *some* sort of guidlines on
restrictions.

I read 2.2.4.1 footnote 8 as meaning "if ansi doesn't have a
translation limit, then please, please, please don't build one into
your compiler".




--
             J. Eric Townsend --  jet@nas.nasa.gov -- 415.604.4311
              '92 R100R, DoD# 0378, BMWMOA, AMA, ACLU, EFF, CPSR
Technical Details
Message-ID: <JET.92Dec28174030@boxer.nas.nasa.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!data.nas.nasa.gov!data.nas.nasa.gov!jet
References: <JET.92Dec24133237@boxer.nas.nasa.gov> <BzsK12.5Ky@jrd.dec.com> <1992Dec29.001933.25655@lucid.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!ames!data.nas.nasa.gov!data.nas.nasa.gov!jet
From: jet@boxer.nas.nasa.gov (J. Eric Townsend)
Subject: Re: Maximum depth of #if preprocessing directives
In-Reply-To: jss@lucid.com's message of Tue, 29 Dec 92 00:19:33 GMT
References: <JET.92Dec24133237@boxer.nas.nasa.gov> <BzsK12.5Ky@jrd.dec.com>
 <1992Dec29.001933.25655@lucid.com>
Sender: news@nas.nasa.gov (News Administrator)
Organization: Numerical Aerodynamic Simulation, NASA Ames
Date: 28 Dec 92 17:40:30
Message-ID: <JET.92Dec28174030@boxer.nas.nasa.gov>
Lines: 23