From 1e23c485c40f539ec66087728aa4d6fcc121c6a4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 12 Nov 2012 15:06:44 -0500 Subject: [PATCH] compiler-warnings: Drop -Wdeclaration-after-statement Some GNOME modules want the ability to use C99, let's not hamper them. https://bugzilla.gnome.org/show_bug.cgi?id=688192 --- macros2/gnome-compiler-flags.m4 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4 index 14e55c8..c190137 100644 --- a/macros2/gnome-compiler-flags.m4 +++ b/macros2/gnome-compiler-flags.m4 @@ -52,9 +52,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[ warning_flags="$base_warn_flags $base_error_flags" ;; maximum|error) - warning_flags="$base_warn_flags $base_error_flags \ - -Wdeclaration-after-statement \ - " + warning_flags="$base_warn_flags $base_error_flags" ;; *) AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings) -- 2.7.4