compiler-warnings: Move -Wnested-externs to the always-on warning set
authorColin Walters <walters@verbum.org>
Mon, 12 Nov 2012 20:02:38 +0000 (15:02 -0500)
committerColin Walters <walters@verbum.org>
Mon, 12 Nov 2012 20:23:12 +0000 (15:23 -0500)
Since there's no reason to have it different for yes/maximum.

https://bugzilla.gnome.org/show_bug.cgi?id=688192

macros2/gnome-compiler-flags.m4

index c4cc1c6..7017b25 100644 (file)
@@ -24,6 +24,7 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
     base_warn_flags=" \
         -Wall \
        -Wstrict-prototypes \
+       -Wnested-externs \
     "
 
     dnl These compiler flags typically indicate very broken or suspicious
@@ -53,7 +54,6 @@ AC_DEFUN([GNOME_COMPILE_WARNINGS],[
     maximum|error)
        warning_flags="$base_warn_flags $base_error_flags \
        -Wdeclaration-after-statement \
-       -Wnested-externs \
        -Wno-sign-compare"
        ;;
     *)