strongswan/remove-warning-no-format.patch

16 lines
663 B
Diff
Raw Normal View History

2022-08-14 08:39:17 +08:00
diff --git a/configure.ac b/configure.ac
2023-03-11 18:22:19 +08:00
index 8fb048e58..3d3f6b639 100644
2022-08-14 08:39:17 +08:00
--- a/configure.ac
+++ b/configure.ac
2023-03-11 18:22:19 +08:00
@@ -1480,8 +1480,8 @@ else
2022-08-14 08:39:17 +08:00
fi
# disable some warnings, whether explicitly enabled above or by default
# these are not compatible with our custom printf specifiers
-WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
-WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"
+#WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
+#WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"
# we generally use comments, but GCC doesn't seem to recognize many of them
WARN_CFLAGS="$WARN_CFLAGS -Wno-implicit-fallthrough"
# we often omit fields when initializing structs (e.g. when using INIT)