home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!spool.mu.edu!olivea!sgigate!sgi!quasar.mti.sgi.com!davea
- From: davea@quasar.mti.sgi.com (David B.Anderson)
- Newsgroups: comp.sys.sgi
- Subject: Re: cpp-error?
- Message-ID: <tlg38o4@sgi.sgi.com>
- Date: 16 Dec 92 05:10:40 GMT
- Sender: davea@quasar.mti.sgi.com
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 20
-
- In article <LIU9YF@math.fu-berlin.de> melchers@Chico.Chemie.FU-Berlin.DE (Bernd Melchers) writes:
- >Is there an error in silicon graphics (mips) preprosessor ? >The preprocessor evaluates the following file as below
- [ ]
- >#elif CSWITCH
-
- Bug in cpp. #elif is not dependable in K&R C
-
- It appears that you are running compiler release 2.10 since
- your cc is running K&R C by default.
-
- With 2.40 and 3.10 compilers cc defaults to ANSI C.
- The ANSI cpp (acpp) does not have this bug.
-
- cc -cckr continues to have the bug in 2.40 & 3.10.
-
- For the next major release there is a new front end which does not
- have this bug in either K&R or ANSI mode.
-
- Regards,
- [ David B. Anderson (415)390-4263 davea@sgi.com ]
-