home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / gnu / gcc / help / 2295 < prev    next >
Encoding:
Text File  |  1992-10-09  |  942 b   |  30 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!stan!imp
  3. From: imp@solbourne.com (Warner Losh)
  4. Subject: Re: lint
  5. Message-ID: <BvvI7M.6oI@solbourne.com>
  6. Organization: ParcPlace Boulder
  7. References: <herman.718468501@phage> <1992Oct7.165412.2404@thyme.jpl.nasa.gov> <1992Oct9.060310.1885@organpipe.uug.arizona.edu>
  8. Date: Fri, 9 Oct 1992 21:26:09 GMT
  9. Lines: 19
  10.  
  11. In article <1992Oct9.060310.1885@organpipe.uug.arizona.edu>
  12. dave@cs.arizona.edu (Dave Schaumann) writes: 
  13. >     -pedantic
  14. >          Issue all the warnings demanded by strict ANSI standard
  15. >          C; reject all programs that use forbidden extensions.
  16. >      There is no reason to use this option; it exists only to
  17. >          satisfy pedants.
  18.  
  19. #ifdef foo
  20. ...
  21. #endif foo
  22.  
  23. will generate a warning iff -pedantic is specified.  I think this is
  24. the only thing that it does.
  25.  
  26. Warner
  27. -- 
  28. Warner Losh        imp@parcplace.COM    ParcPlace Boulder
  29. I've almost finished my brute force solution to subtlety.
  30.