Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site think.ARPA Path: utzoo!watmath!clyde!cbosgd!ihnp4!think!massar From: massar@think.ARPA (JP Massar) Newsgroups: net.lang.c Subject: lint bug? Message-ID: <3459@think.ARPA> Date: Wed, 20-Nov-85 23:25:10 EST Article-I.D.: think.3459 Posted: Wed Nov 20 23:25:10 1985 Date-Received: Sat, 23-Nov-85 00:25:32 EST Distribution: net Organization: Thinking Machines, Cambridge, MA Lines: 30 Is this a problem with me, with my lint, with all lints, or what? This was run on a 4.2 BSD VAX/785. Reply via mail. I will summarize. Thanks. ------------------------------------------------------------------------------ typedef enum {A,B,C} Foo; pfoo (ptr_foo) Foo *ptr_foo; { printf("%d\n",*ptr_foo); } main () { Foo foo = A; pfoo(&foo); } ------------------------------------------------------------------------------ lint test.c test.c: pfoo, arg. 1 used inconsistently test.c(4) :: test.c(11) -- -- JP Massar, Thinking Machines Corporation, Cambridge, MA -- ihnp4!godot!massar, massar@think.com.arpa -- 617-876-1111