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

  1. Path: sparky!uunet!olivea!sgigate!sgi!igor!kevin
  2. From: kevin@tamri.com (Kevin Dalley)
  3. Newsgroups: comp.sys.sgi.bugs
  4. Subject: Re: lint doesn't recognize '#' ansi operator
  5. Message-ID: <KEVIN.92Dec17190638@polkacide.tamri.com>
  6. Date: 18 Dec 92 03:06:40 GMT
  7. References: <1992Dec17.102241.12183@itnsg1.cineca.it>
  8.     <DSG.92Dec17085443@blackbird.mitre.org>
  9. Sender: kevin@igor.tamri.com (Kevin Dalley)
  10. Reply-To: kevin@tamri.com
  11. Organization: TOSHIBA America MRI, South San Francisco, CA
  12. Lines: 28
  13. In-Reply-To: dsg@blackbird.mitre.org's message of 17 Dec 92 13:54:43 GMT
  14.  
  15. In article <DSG.92Dec17085443@blackbird.mitre.org>
  16. dsg@blackbird.mitre.org (David S. Goldberg) writes:
  17.  
  18. > Nntp-Posting-Host: blackbird.mitre.org
  19.  
  20.  
  21. >>>>>> In article <1992Dec17.102241.12183@itnsg1.cineca.it>,
  22. >>>>>> root@itnsg1.cineca.it (Valter Cavecchia) writes:
  23.  
  24. >Valter> This is not a bug, lint doesn't recognize the # ansi
  25. >Valter> "tokenizer" because it actually uses "cpp" and not "acpp"
  26. >Valter> (lint ignores -ansi keywords).  This is really annoying...  Is
  27. >Valter> there any fix to this?
  28.  
  29. > I don't have a true fix, but I've been annoyed by this too.  My
  30. > solution (I call it a kludge) has been to preprocess the file with
  31. > acpp, redirecting to another file, and then running lint on that
  32. > second file.  It's not as nice as having lint use acpp directly
  33. > because line numbers don't always match up, but it does help somewhat.
  34.  
  35. Another solution is to "gcc -Wall".  Through in a few other warnings
  36. if you so desire.  gcc gives substantially better warning messages
  37. than either SGI's "cc -fullwarn" or lint.
  38.  
  39. --
  40. Kevin Dalley
  41. Toshiba America MRI, Inc.
  42. kevin@tamri.com
  43.