[gnome-common] compiler-warnings: Drop -Wno-sign-comare



commit eeca390b4d7ee45616dc987ab6085add4f6e4ada
Author: Colin Walters <walters verbum org>
Date:   Mon Nov 12 15:04:02 2012 -0500

    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

 macros2/gnome-compiler-flags.m4 |    2 +-
 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)



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