[gnome-common] compiler-warnings: Move -Wnested-externs to the always-on warning set



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

    compiler-warnings: Move -Wnested-externs to the always-on warning set
    
    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/macros2/gnome-compiler-flags.m4 b/macros2/gnome-compiler-flags.m4
index c4cc1c6..7017b25 100644
--- a/macros2/gnome-compiler-flags.m4
+++ b/macros2/gnome-compiler-flags.m4
@@ -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"
 	;;
     *)



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