]> Dogcows Code - chaz/openbox/blobdiff - m4/openbox.m4
add -Wwrite-strings in debug mode
[chaz/openbox] / m4 / openbox.m4
index 663f91dbf2e6b448011d167bc46aa19a94ed6041..796e2787106c9a2a9e81701f262ab5dc1f2600f1 100644 (file)
@@ -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
This page took 0.022734 seconds and 4 git commands to generate.