commit: 2ef29f397a6de64a926151fb24ecdfa9a4a3dd44
parent 8a0d2dd13a634806dbb2d062164c9104c32d3c1d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 27 Jul 2025 18:16:36 +0200
configure: try to add -Werror=format-extra-args -Werror=format-insufficient-args
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
@@ -225,7 +225,8 @@ echo
check_cflag "-Werror=implicit-function-declaration" && CFLAGS_CHECK="${CFLAGS_CHECK} -Werror=implicit-function-declaration"
-for f in -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wvla
+# clang: -Werror=format-extra-args -Werror=format-insufficient-args
+for f in -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wvla -Werror=format-extra-args -Werror=format-insufficient-args
do
check_cflag "$f" && CFLAGS="${CFLAGS} $f"
done