projects
/
dana
/
openbox-history.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3678f8d
)
add -Wwrite-strings in debug mode
author
Dana Jansens
<danakj@orodu.net>
Sun, 18 Mar 2007 15:15:38 +0000
(15:15 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 18 Mar 2007 15:15:38 +0000
(15:15 +0000)
m4/openbox.m4
patch
|
blob
|
history
diff --git
a/m4/openbox.m4
b/m4/openbox.m4
index
663f91d
..
796e278
100644
(file)
--- a/
m4/openbox.m4
+++ b/
m4/openbox.m4
@@
-64,7
+64,7
@@
AC_DEFUN([OB_COMPILER_FLAGS],
if test "$GCC" = "yes"; then
AC_MSG_RESULT([yes])
if test "$DEBUG" = "yes"; then
- FLAGS="$FLAGS -O0 -g -fno-inline"
+ FLAGS="$FLAGS -O0 -g -fno-inline
-Wwrite-strings
"
FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
FLAGS="$FLAGS -Wcast-qual -Wbad-function-cast -Wpointer-arith"
# for Python.h