From 2813d2c1612ce09cf1b8fe8e70d3d122f6b11b69 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 16 Sep 2010 14:52:09 -0400 Subject: [PATCH] glib can't handle -Wcast-qual --- m4/openbox.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 5a95e846..86d3e0b5 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -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 -- 2.45.2