problems/risks due to programming language

Karl Heuer karl at haddock.ima.isc.com
Mon Feb 26 15:11:22 AEST 1990


In article <4611 at jarthur.Claremont.EDU> jseidman at jarthur.Claremont.EDU (James Seidman) writes:
>[Because of a problem with accidentally writing `foo:' for `case foo:', where
>`foo' is an identifier denoting an enum constant,] Labeled statements inside
>a case statement would be a nice addition to lint

Unnecessary.  Each of SysV lint, BSD lint, and gcc -Wall will already issue at
least one warning for this.

Karl W. Z. Heuer (karl at ima.ima.isc.com or harvard!ima!karl), The Walking Lint



More information about the Comp.lang.c mailing list