commit ef17cf8d8887413b504197dd774310d818e6ab7e
parent 56d78292269f6a6b02a0e18dc21e5a3aacf7c462
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Thu, 10 Oct 2024 11:58:12 +0200
Reintroduce -Werror, but exclude unused options
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.sh b/configure.sh
@@ -85,8 +85,9 @@ validatethreads
validatearch
STD="-std=c11"
-WFLAGS="-pedantic -Wall -Wextra"
+WFLAGS="-pedantic -Wall -Wextra -Werror"
WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas"
+WNOFLAGS="$WNOFLAGS -Wno-unused-command-line-argument"
[ "$ARCH" = "AVX2" ] && AVX="-mavx2"