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