lix/mk
Robert Hensing fba7be80eb Enable -Werror=switch-enum
switch statements must now match all enum values or disable the
warning.

Explicit is good. This has helped us find two bugs, after solving
another one by debugging.

From now on, adding to an enum will raise errors where they are
not explicitly handled, which is good for productivity, and helps
us decide the correct behavior in all usages.

Notably still excluded from this though are the cases where the
warning is disabled by local pragmas.

fromTOML.cc did not build despite a top-level pragma, so I've had
to resort to a makefile solution for that.
2023-04-03 18:45:20 +02:00
..
clean.mk
common-test.sh
debug-test.sh Harden tests' bash 2023-03-08 10:26:30 -05:00
disable-tests.mk Add ./configure --disable-tests option 2023-02-24 09:50:21 +01:00
functions.mk
install.mk
lib.mk
libraries.mk fix: build aarch64-darwin 2023-03-18 17:53:45 -04:00
patterns.mk Enable -Werror=switch-enum 2023-04-03 18:45:20 +02:00
precompiled-headers.mk
programs.mk
run-test.sh Remove "unexpected EOF" retry hack 2023-03-15 10:59:10 +01:00
templates.mk
tests.mk
tracing.mk