🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5515

Re: __STDC__ and non-strictly conforming ANSI C compilers

#5515
From: Bob Larson
Date: Sun, 18 Dec 1988 21:57
17 lines
1261 bytes
In article <1988Dec18.043804.907@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes:
>There
>really ought to be a way for a program to specify that a predefinition
>of a particular identifier is expected.

#ifndef FROBUZ
    ??= error	FROBUZ must be pre-defined!
#endif

(Note use of trigraph so non-ansi compilers won't refuse to compile
this if FROBUZ is defined.  This may be the place trigraphs are realy
useful.)
-- 
Bob Larson	Arpa: Blarson@Ecla.Usc.Edu	blarson@skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%ais1@ecla.usc.edu
			oberon!ais1!info-prime-request
Technical Details
Message-ID: <14134@oberon.USC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!skat.usc.edu!blarson
References: <3236@pegasus.ATT.COM> <9167@smoke.BRL.MIL> <12643@bellcore.bellcore.com> <9187@smoke.BRL.MIL> <11005@ulysses.homer.nj.att.com> <9199@smoke.BRL.MIL> <1988Dec18.043804.907@utzoo.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!oberon!skat.usc.edu!blarson
From: blarson@skat.usc.edu (Bob Larson)
Newsgroups: comp.std.c
Subject: Re: __STDC__ and non-strictly conforming ANSI C compilers
Message-ID: <14134@oberon.USC.EDU>
Date: 18 Dec 88 21:57:15 GMT
References: <3236@pegasus.ATT.COM> <9167@smoke.BRL.MIL> <12643@bellcore.bellcore.com> <9187@smoke.BRL.MIL> <11005@ulysses.homer.nj.att.com> <9199@smoke.BRL.MIL> <1988Dec18.043804.907@utzoo.uucp>
Sender: news@oberon.USC.EDU
Reply-To: blarson@skat.usc.edu (Bob Larson)
Organization: USC AIS, Los Angeles
Lines: 17