Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Emanuele Petriglia
xfce4-dev-tools
Commits
b627d837
Commit
b627d837
authored
Mar 05, 2015
by
Matt Thirtytwo
Committed by
Harald Judt
Mar 13, 2015
Browse files
No -Wshadow flag for enable_debug=full (bug #11637)
Use it only for enable_debug=yes.
parent
5eb3f0cd
Changes
1
Show whitespace changes
Inline
Side-by-side
m4macros/xdt-features.m4
View file @
b627d837
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment