Xref: utzoo comp.sys.att:11090 unix-pc.general:6758 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!xylogics!bu.edu!shelby!mcnc!duke!pusateri From: pusateri@duke.cs.duke.edu (Thomas J. Pusateri) Newsgroups: comp.sys.att,unix-pc.general Subject: lint on unix-pc / 3b1 Keywords: lint Message-ID: <660450630@romeo.cs.duke.edu> Date: 6 Dec 90 02:30:31 GMT Followup-To: comp.sys.att Organization: Duke University Computer Science Dept.; Durham, N.C. Lines: 21 I have been writing a project on the 3b1 at home and a SUN sparcstation at work. The systems are amazingly compatible! (As long as you write portable code.) Anyway, I use saber-C at work (a wonderful product) and lint at home on the unix-pc. A problem with the 3b1 lint arises because it does not accept the standard C preprocessor defines. The manual makes no reference to the -D option! As far as the functions I use there are not many differences but there are a few. So how can I fake lint into seeing the defines I need without changing the source files? I tried cc -P which just runs the preprocessor and creates .i files but lint doesn't like these. I guess I could kludge something up with m4 but that sure does seem ugly. Anyone else have frustrations with unix-pc lint? Tom Pusateri Duke University pusateri@cs.duke.edu pusateri@nbsr.duke.edu