]> Dogcows Code - chaz/openbox/commitdiff
add some more warning flags for debug builds
authorDana Jansens <danakj@orodu.net>
Mon, 4 Oct 2010 22:46:32 +0000 (18:46 -0400)
committerDana Jansens <danakj@orodu.net>
Mon, 24 Jan 2011 19:19:22 +0000 (14:19 -0500)
-Wno-write-strings so that "foo" is treated as a const char* not a char*.
-Wextra for more fun

m4/openbox.m4

index 86d3e0b5ce98f24b6d6e33f8ceb85257eaa1ab5e..862c6891bdf3d6b3eeac83f71630ff1733818499 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
This page took 0.027873 seconds and 4 git commands to generate.