From 10c391367d82790eea3b3a736c54973dc1982ff7 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 19 Oct 2025 22:24:46 +0100 Subject: build: Add some more warning flags for compilation-based-refactoring --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d7aa185..3374bab 100644 --- a/build.sh +++ b/build.sh @@ -2,7 +2,7 @@ set -xe -CFLAGS="-Wall -Wextra -std=c11 -ggdb -fsanitize=address -fsanitize=undefined" +CFLAGS="-Wall -Wextra -std=c11 -ggdb -fsanitize=address -fsanitize=undefined -Wswitch -Wswitch-enum" LINK="-I." LIB="impl/sv.c impl/vec.c impl/symtable.c impl/tag.c impl/constructor.c impl/stream.c impl/sys.c" OUT="alisp.out" -- cgit v1.2.3-13-gbd6f