[net.unix-wizards] lint problem?

jpayne%bbn-vax@sri-unix.UUCP (03/07/84)

From:  Jonathan Payne <jpayne@bbn-vax>

The lint on SUN's 4.1c system, and I think the lint on 4.2 vax UNIX
is doing some weird things.  The version that prints:

filename(###): warning: ep unused in function xxx

instead of

"filename", line ###: warning: ep unused in function xxx

is the one that I'm talking about.  Anyway, this version of lint
complains about a whole bunch of variables that are used but not
defined.  The problem is that they ARE defined.  I think the problem
is only with variables that are declared extern and included in each
file (including the one with the actual declaration).  (There are a
bunch of files.) For example, one says:

this_cmd used( ???(327) ), but not defined

The "???" are real.  This is clearly a bug since it does compile.
And the exact same command with a different version of lint works
perfectly.  

----------

Has anyone else experienced this problem?

moss%brl-vld@sri-unix.UUCP (03/07/84)

From:      Gary S Moss ~Software Development Team~ <moss@brl-vld>

Jonathan --

	You've probably checked, but just in case, the most common
reason I have for a "used but not defined" message from lint, especially
from source that compiles fine, is when I am using a library that lint
is not aware of.

-- Moss.