glib can't handle -Wcast-qual
This commit is contained in:
parent
d81f94bf8b
commit
2813d2c161
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue