summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-12 15:04:02 -0500
committerColin Walters <walters@verbum.org>2012-11-12 15:23:17 -0500
commiteeca390b4d7ee45616dc987ab6085add4f6e4ada (patch)
treea8aad170404e693776d46792a1b0b39e8f8c583c
parentb90f3e541739f7122811966481b55d625129d951 (diff)
downloadgnome-common-eeca390b4d7ee45616dc987ab6085add4f6e4ada.tar.gz
compiler-warnings: Drop -Wno-sign-comare
It's not part of -Wall, and we're not explicitly turning it on here, so there's no point in turning it off, since it's not on. Additionally, if a given module did want it on, it's clearer if the compiler flags don't have -Wno-sign-compare -Wsign-compare. https://bugzilla.gnome.org/show_bug.cgi?id=688192
-rw-r--r--macros2/gnome-compiler-flags.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4
index 7017b25..14e55c8 100644
--- a/macros2/gnome-compiler-flags.m4
+++ b/macros2/gnome-compiler-flags.m4
@@ -54,7 +54,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
maximum|error)
warning_flags="$base_warn_flags $base_error_flags \
-Wdeclaration-after-statement \
- -Wno-sign-compare"
+ "
;;
*)
AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)