Looking for fixes to bugs in 4.1bsd lint

THIS SPACE FOR RENT olmstead at syteka.UUCP
Thu Nov 3 06:20:27 AEST 1983


We've run into several annoying bugs in lint running under 4.1bsd on
our 750.  It appears that either the preprocessor ACTS differently or
IS a different program, depending on whether we're cc'ing or lint'ing.
For example, lint sometimes complains about a syntax error on lines
containing only '#ifdef DEBUG' beginning in column zero.  It also
sometimes (maybe always, I'm not sure) objects to '#if' lines.  Some
of the alleged syntax errors occur on '#ifdef' lines that have been
disabled by being encased within '#ifdef notdef' lines.  Lint also complains
randomly about passing NULL (i.e., 0) to functions expecting pointers, so
we get to use casts like func(..., (int *)NULL,...) all over the place.
All of these "syntax errors" go through cc just fine, thank you.

Has anybody fixed these problems?  Has anybody else even SEEN these problems?
Any advice will be greatly appreciated.


			Patrick Olmstead

			...ucbvax!menlo70!sytek!olmstead
			...decvax!sytek!olmstead (when decvax answers the phone)



More information about the Comp.bugs.4bsd.ucb-fixes mailing list