From ef17cf8d8887413b504197dd774310d818e6ab7e Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 10 Oct 2024 11:58:12 +0200 Subject: Reintroduce -Werror, but exclude unused options --- configure.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 2b2f40b..09d1310 100755 --- 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" -- cgit v1.3