Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!amgraf!cpsolv!rhg From: rhg@cpsolv.UUCP (Richard H. Gumpertz) Newsgroups: comp.lang.c Subject: Re: Weird problem with C compiler under SCO - I can't believe it! Keywords: SCO C BUG Message-ID: <391@cpsolv.UUCP> Date: 25 Sep 89 03:21:48 GMT References: <71@promark.UUCP> <14561@bloom-beacon.MIT.EDU> Reply-To: rhg@cpsolv.uucp (Richard H. Gumpertz) Distribution: na Organization: Computer Problem Solving, Leawood, Kansas Lines: 19 Speaking of switches to disable non-standard extensions: I encountered a funny problem using DEC's VAX/VMS compiler: when I tried to compile with extensions disabled it complained about the extensions that were used in implementing the standard .h files! Interesting dilemma: the (hidden from the programmer) implementation of certain ANSI-standard macros must include DEC-specific extensions. Hence, programs that use the standard headers and functions cannot be compiled with the standard-only switch! I suppose a pragma that would temporarily allow extensions could be included in appropriate parts of the header files. Moby sigh. Richard H. Gumpertz -- ========================================================================== | Richard H. Gumpertz: ...uunet!amgraf!cpsolv!rhg | | Computer Problem Solving, 8905 Mohwak Lane, Leawood, Kansas 66206-1749 | ==========================================================================