]> Dogcows Code - chaz/openbox/blobdiff - m4/openbox.m4
add some more warning flags for debug builds
[chaz/openbox] / m4 / openbox.m4
index 5a95e8465bcf0f296148ad1c9e7cafe5f5ac8d41..862c6891bdf3d6b3eeac83f71630ff1733818499 100644 (file)
@@ -76,7 +76,10 @@ AC_DEFUN([OB_COMPILER_FLAGS],
        if test "$DEBUG" = "yes"; then
            FLAGS="$FLAGS -O0 -ggdb -fno-inline -Wwrite-strings"
            FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
-           FLAGS="$FLAGS -Wcast-qual -Wbad-function-cast -Wpointer-arith"
+           FLAGS="$FLAGS -Wbad-function-cast -Wpointer-arith"
+           FLAGS="$FLAGS -Wno-write-strings -Wextra"
+           # glib can't handle this flag
+           # -Wcast-qual
             # for Python.h
            #FLAGS="$FLAGS -Wno-long-long"
        fi
This page took 0.024613 seconds and 4 git commands to generate.