diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:15:38 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-03-18 15:15:38 +0000 |
| commit | 841a83fa6d710f76379c5173304b2f16dbb6dd5f (patch) | |
| tree | 69ab374f5a0643eccb812abf912b85b7262ea78c | |
| parent | 3678f8df8a3d2f5fb20d07d9124c3f0b8618ca5d (diff) | |
add -Wwrite-strings in debug mode
| -rw-r--r-- | m4/openbox.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 663f91db..796e2787 100644 --- 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 |
