add some more warning flags for debug builds
[mikachu/openbox.git] / m4 / openbox.m4
index 86d3e0b..862c689 100644 (file)
@@ -77,6 +77,7 @@ AC_DEFUN([OB_COMPILER_FLAGS],
            FLAGS="$FLAGS -O0 -ggdb -fno-inline -Wwrite-strings"
            FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
            FLAGS="$FLAGS -Wbad-function-cast -Wpointer-arith"
+           FLAGS="$FLAGS -Wno-write-strings -Wextra"
            # glib can't handle this flag
            # -Wcast-qual
             # for Python.h