🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5674

Re: __STDC__ and non-conforming ANSI C compilers

#5674
From: Stephen J. Friedl
Date: Wed, 25 Jan 1989 03:34
18 lines
985 bytes
In article <944@ubu.warwick.UUCP>, geoff@warwick.UUCP (Geoff Rimmer) writes:
> How about putting the following lines in /usr/include/local/__STDC__fix.h
> 
> #ifdef __STDC__
> #if __STDC__==0
> #undef __STDC__
> #endif
> #endif

You can't always #undef __STDC__, even for nonconformant compilers.

     Steve

-- 
Stephen J. Friedl        3B2-kind-of-guy            friedl@vsi.com
V-Systems, Inc.       I speak for you only      attmail!vsi!friedl
Santa Ana, CA  USA       +1 714 545 6442    {backbones}!vsi!friedl
Nancy Reagan on these *stupid* .signatures: "Enough already, OK?"
Technical Details
Message-ID: <1032@vsi.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedl
References: <9391@smoke.BRL.MIL> <8731@megaron.arizona.edu> <9405@smoke.BRL.MIL> <944@ubu.warwick.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!vsi!friedl
From: friedl@vsi.COM (Stephen J. Friedl)
Newsgroups: comp.std.c
Subject: Re: __STDC__ and non-conforming ANSI C compilers
Message-ID: <1032@vsi.COM>
Date: 25 Jan 89 03:34:11 GMT
References: <9391@smoke.BRL.MIL> <8731@megaron.arizona.edu> <9405@smoke.BRL.MIL> <944@ubu.warwick.UUCP>
Organization: V-Systems, Inc. -- Santa Ana, CA
Lines: 18