[Xfce4-commits] [xfce/xfce4-dev-tools] 01/01: No -Wshadow flag for enable_debug=full (bug #11637)
noreply at xfce.org
noreply at xfce.org
Fri Mar 13 14:08:17 CET 2015
This is an automated email from the git hooks/post-receive script.
hjudt pushed a commit to branch master
in repository xfce/xfce4-dev-tools.
commit b627d837b5e1bf98f403ef1fb4cdab18eeb6bfe8
Author: Matt Thirtytwo <matt.59491 at gmail.com>
Date: Thu Mar 5 20:26:55 2015 +0100
No -Wshadow flag for enable_debug=full (bug #11637)
Use it only for enable_debug=yes.
---
m4macros/xdt-features.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index 239cd4f..c4ba116 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -73,7 +73,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
-Wno-unused-parameter -Wold-style-definition \
-Wdeclaration-after-statement \
-Wmissing-declarations \
- -Wmissing-noreturn -Wshadow -Wpointer-arith \
+ -Wmissing-noreturn -Wpointer-arith \
-Wcast-align -Wformat -Wformat-security -Wformat-y2k \
-Winit-self -Wmissing-include-dirs -Wundef \
-Wnested-externs"
@@ -94,7 +94,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
AC_MSG_RESULT([full])
else
- xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
+ xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow"
AC_MSG_RESULT([yes])
fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list