massar@think.ARPA (JP Massar) (11/21/85)
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
ado@elsie.UUCP (Arthur David Olson) (11/22/85)
A fix has been posted to net.bugs.4bsd. -- Lint is an Oscar Madison trademark. C is a Jack Benny/Mel Blanc trademark. Think is an IBM trademark. -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado@seismo.ARPA DEC, VAX and Elsie are Digital Equipment and Borden trademarks