]> Dogcows Code - chaz/openbox/commitdiff
glib can't handle -Wcast-qual
authorDana Jansens <danakj@orodu.net>
Thu, 16 Sep 2010 18:52:09 +0000 (14:52 -0400)
committerDana Jansens <danakj@orodu.net>
Thu, 16 Sep 2010 18:52:09 +0000 (14:52 -0400)
m4/openbox.m4

index 5a95e8465bcf0f296148ad1c9e7cafe5f5ac8d41..86d3e0b5ce98f24b6d6e33f8ceb85257eaa1ab5e 100644 (file)
@@ -76,7 +76,9 @@ 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"
+           # glib can't handle this flag
+           # -Wcast-qual
             # for Python.h
            #FLAGS="$FLAGS -Wno-long-long"
        fi
This page took 0.024467 seconds and 4 git commands to generate.