compiler-warnings: Drop -Wno-sign-comare
authorColin Walters <walters@verbum.org>
Mon, 12 Nov 2012 20:04:02 +0000 (15:04 -0500)
committerColin Walters <walters@verbum.org>
Mon, 12 Nov 2012 20:23:17 +0000 (15:23 -0500)
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

index 7017b25..14e55c8 100644 (file)
@@ -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)