home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sgi / bugs / 10 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.sgi.bugs
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!agate!linus!linus.mitre.org!blackbird!dsg
  3. From: dsg@blackbird.mitre.org (David S. Goldberg)
  4. Subject: Re: lint doesn't recognize '#' ansi operator
  5. In-Reply-To: root@itnsg1.cineca.it's message of 17 Dec 92 10:22:41 GMT
  6. Message-ID: <DSG.92Dec17085443@blackbird.mitre.org>
  7. Sender: news@linus.mitre.org (News Service)
  8. Nntp-Posting-Host: blackbird.mitre.org
  9. Organization: The Mitre Corp., Bedford, MA.
  10. References: <1992Dec17.102241.12183@itnsg1.cineca.it>
  11. Date: Thu, 17 Dec 1992 13:54:43 GMT
  12. Lines: 21
  13.  
  14.  
  15. >>>>> In article <1992Dec17.102241.12183@itnsg1.cineca.it>,
  16. >>>>> root@itnsg1.cineca.it (Valter Cavecchia) writes:
  17.  
  18. Valter> This is not a bug, lint doesn't recognize the # ansi
  19. Valter> "tokenizer" because it actually uses "cpp" and not "acpp"
  20. Valter> (lint ignores -ansi keywords).  This is really annoying...  Is
  21. Valter> there any fix to this?
  22.  
  23. I don't have a true fix, but I've been annoyed by this too.  My
  24. solution (I call it a kludge) has been to preprocess the file with
  25. acpp, redirecting to another file, and then running lint on that
  26. second file.  It's not as nice as having lint use acpp directly
  27. because line numbers don't always match up, but it does help somewhat.
  28.  
  29. --
  30. Dave Goldberg                      UNIX Systems Programmer/Administrator
  31. Post: The Mitre Corporation MS B020 202 Burlington Rd. Bedford, MA 01730
  32. Phone: 617-271-2460
  33. Domain: dsg@mbunix.mitre.org  UUCP: {your neighborhood}!linus!mbunix!dsg 
  34.  
  35.