home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / c / 18963 < prev    next >
Encoding:
Text File  |  1992-12-29  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!spillman!tye
  3. From: tye@spillman.uucp (E. Tye McQueen)
  4. Subject: Re: Another C palindrome puzzle
  5. Message-ID: <1992Dec29.092627.26362@spillman.uucp>
  6. Date: Tue, 29 Dec 1992 09:26:27 GMT
  7. References: <9234503.17437@mulga.cs.mu.OZ.AU> <9235703.672@mulga.cs.mu.OZ.AU> <1992Dec23.172745.12170@thunder.mcrcim.mcgill.edu> <9236108.5556@mulga.cs.mu.OZ.AU>
  8. Organization: Spillman Data Systems
  9. Lines: 26
  10.  
  11. fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON) writes:
  12. )mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
  13. )>Or older versions of gcc, which would give up on compiling and
  14. )>run rogue when they happened across a #pragma of any sort?
  15. )
  16. )I think that these versions of gcc are not standard-conforming.
  17. )I don't have the ANSI C standard, but the C++ ARM says that
  18. )"an unrecognized pragma will be ignored", and I think that the
  19. )C standard says something similar.
  20.  
  21. But, of course, that gcc compiler recognized all pragmas.
  22.  
  23. )But you're right of course, it's not strictly ANSI conforming.
  24.  
  25. You seem to be saying that any use of "#pragma" results in a
  26. not-strictly-ANSI-conforming program, which makes it seem silly
  27. to include it as part of the standard.  And illustrating that
  28. point was, as I recall, the main reason that gcc chose to run
  29. rogue.  Though I at least partially agree, I doubt that is, in
  30. fact, what you are were saying; so I apologize for misunder-
  31. standing you.
  32.  
  33.  tye@spillman.com                         Tye McQueen, E.
  34. ----------------------------------------------------------
  35.  Nothing is obvious unless you are overlooking something. 
  36. ----------------------------------------------------------
  37.