NetBSD/usr.bin/xlint
rillig 5edf0687f7 lint: disable check for enum type mismatch in switch statement
This check has been too quick and broke the lint build.  Among others,
lib/libpuffs has -w included in LINTFLAGS, which means that the build
can fail even for new warnings, not only for errors.

libpuffs compares a uint16_t with constants from an unnamed enum type.
Since the enum type is completely unnamed (neither a tag nor a typedef),
there is no way to define a struct member having this type. This was a
scenario that I just didn't consider when I added the check to lint.

For now, disable the new check completely.  The previously existing lint
checks stay enabled, including the one that warns about mismatched
anonymous enum types in the '==' operator, which is very similar to the
now disabled check.
2021-03-10 00:02:00 +00:00
..
arch lint: reduce preprocessor magic for platform target types 2021-01-24 14:47:40 +00:00
common lint: in the name of an array type, list the dimension first 2021-03-07 17:12:41 +00:00
lint1 lint: disable check for enum type mismatch in switch statement 2021-03-10 00:02:00 +00:00
lint2 lint2: add redundancy checker for comments in source code 2021-02-28 18:17:08 +00:00
llib
xlint lint: make path to lint data configurable 2021-01-24 16:55:09 +00:00
Makefile
Makefile.inc Make mips64e[bl] check more generic. 2013-01-28 14:25:18 +00:00