[gnome-common] compiler-warnings: Drop -Wdeclaration-after-statement



commit 1e23c485c40f539ec66087728aa4d6fcc121c6a4
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 12 15:06:44 2012 -0500

    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 files changed, 1 insertions(+), 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)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]