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
disable-tests.mk
functions.mk
install.mk
lib.mk
libraries.mk
patterns.mk Enable -Werror=switch-enum 2023-04-03 18:45:20 +02:00
precompiled-headers.mk
programs.mk
run-test.sh
templates.mk
tests.mk
tracing.mk