[net.lang.c] lint and enums

whm@bocklin.UUCP (06/29/85)

In the following program, lint says that the argument to f is used
inconsistently.  I assume that this is some sort of a fundamental
problem with incomplete treatment of enums by lint, but on the off
chance that it isn't, I thought I'd ask to see if anyone has a fix
for this.

    typedef enum tk{t1, t2} token;
    token a[] = {t1, t2};
    main()
    {
	    f(a);

    }
    f(b)
    token b[];
    {
	    b[1];
    }

					Bill Mitchell
					whm%arizona@csnet-relay
					{ihnp4,noao,mcnc,utah-cs}!arizona!whm