From de001225c39a4c4f5773b88b9805456f60d11374 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 13 Jan 2013 11:45:52 -0500 Subject: [PATCH] configure: Expand -Werror=format=2 Apparently on at least some GCC versions, we don't get the effect we want of -Werror=format and -Werror=format-nonliteral. https://bugzilla.gnome.org/show_bug.cgi?id=691608 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5cb21dfd4..76d66ce37 100644 --- a/configure.ac +++ b/configure.ac @@ -3572,7 +3572,7 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\ -Wall -Wstrict-prototypes -Werror=declaration-after-statement \ -Werror=missing-prototypes -Werror=implicit-function-declaration \ -Werror=pointer-arith -Werror=init-self -Werror=format-security \ - -Werror=format=2 -Werror=missing-include-dirs]) + -Werror=format-nonliteral -Werror=format-y2k -Werror=missing-include-dirs]) CFLAGS="$with_cflags $CFLAGS" #