Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!hc!lll-winken!gauss.llnl.gov!casey From: casey@gauss.llnl.gov (Casey Leedom) Newsgroups: comp.std.c Subject: Re: __STDC__ and non-conforming ANSI C compilers Message-ID: <384@lll-winken.UUCP> Date: 29 Dec 88 19:38:13 GMT References: <3236@pegasus.ATT.COM> <9167@smoke.BRL.MIL> <22765@watmath.waterloo.edu> <6093@hoptoad.uucp> <14856@lll-winken.llnl.gov> Sender: usenet@lll-winken.UUCP Reply-To: casey@lll-crg.llnl.gov.UUCP (Casey Leedom) Organization: Lawrence Livermore National Laboratory Lines: 31 | From: Ellis Oliver Jones | | > From: Casey Leedom | > | > [[It should be noted that Apollo doesn't see any problem with the | > described situation. They don't feel that they are misusing the | > __STDC__ symbol.]] | | Mr. Leedom, this is a false statement. Furthermore, you know it | is a false statement. You acknowledged mail from me informing you | that I logged it as a compiler bug. We are struggling to fix this | problem as quickly as possible. | | I wonder who's really muddying the water. Actually you're right I think. I got so much mail from people within Apollo who didn't feel that it was a problem, I forgot yours. I'll post a retraction right away. Please accept my apologies for this misrepresentation. By the way, the quick fix is to leave __STDC__ undefined and provide a compiler switch to allow users to use function prototyping (or accept both syntaxes transparently, but I think that's a difficult problem). The problem is not that your new compiler only provides function prototyping. The problem is that it claims to be an ANSI C compiler. Alternatively, you could drop the SYSV COFF object file format and use GNU cc (or hope that someone gets GNU cc to handle COFF). Then you'd get an ANSI C compiler and a better compiler to boot. Casey