glib can't handle -Wcast-qual
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
m4/openbox.m4
→
m4/openbox.m4
@@ -76,7 +76,9 @@ AC_MSG_RESULT([yes])
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