nix-super/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 Make ./mk/run-test.sh work by itself; add mk/debug-test.sh 2022-12-21 02:28:33 -05:00
debug-test.sh
disable-tests.mk
functions.mk
install.mk
lib.mk
libraries.mk
patterns.mk
precompiled-headers.mk
programs.mk
run-test.sh
templates.mk
tests.mk
tracing.mk Revert "Add support for building JARs from Java sources" 2021-02-26 23:06:58 +00:00