summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-12 15:06:44 -0500
committerColin Walters <walters@verbum.org>2012-11-12 15:23:17 -0500
commit1e23c485c40f539ec66087728aa4d6fcc121c6a4 (patch)
tree148b227e202cc366c6b5280fa6dff58765e9f020
parenteeca390b4d7ee45616dc987ab6085add4f6e4ada (diff)
downloadgnome-common-1e23c485c40f539ec66087728aa4d6fcc121c6a4.tar.gz
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
-rw-r--r--macros2/gnome-compiler-flags.m44
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)