summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-11-12 15:02:38 -0500
committerColin Walters <walters@verbum.org>2012-11-12 15:23:12 -0500
commitb90f3e541739f7122811966481b55d625129d951 (patch)
tree3d544e03b02ab43f22fe45ee1bb61fa355e6bd43
parentafad58ce8302acbff204685ae2df20f118753deb (diff)
downloadgnome-common-b90f3e541739f7122811966481b55d625129d951.tar.gz
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
-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 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"
;;
*)