home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / 18074 < prev    next >
Encoding:
Internet Message Format  |  1992-12-16  |  1.1 KB

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