From e6a2b2b2d4e3511de1110bee59d951a2a4969395 Mon Sep 17 00:00:00 2001 From: lohhiiccc <96543753+lohhiiccc@users.noreply.github.com> Date: Thu, 12 Mar 2026 18:46:30 +0100 Subject: [PATCH] build: add -Wswitch-enum and -Wunreachable-code to strict flags --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7a86078..3217c5d 100755 --- a/configure +++ b/configure @@ -512,7 +512,7 @@ generate_build_mk() { # Strict flags if [ "$ENABLE_STRICT" = "yes" ]; then - strict_flags="-Wpedantic -Wconversion -Wshadow -Wcast-align -Wstrict-prototypes -Wvla" + strict_flags="-Wpedantic -Wconversion -Wshadow -Wcast-align -Wstrict-prototypes -Wvla -Wswitch-enum -Wunreachable-code" fi # libicmp-specific configuration