Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!floyd!harpo!seismo!hao!hplabs!sri-unix!jpayne@bbn-vax From: jpayne%bbn-vax@sri-unix.UUCP Newsgroups: net.unix-wizards Subject: lint problem? (4.1c-4.2) Message-ID: <17240@sri-arpa.UUCP> Date: Tue, 6-Mar-84 17:04:33 EST Article-I.D.: sri-arpa.17240 Posted: Tue Mar 6 17:04:33 1984 Date-Received: Fri, 9-Mar-84 01:26:02 EST Lines: 27 From: Jonathan PayneThe 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?