if test "$GCC" = "yes"; then
AC_MSG_RESULT([yes])
if test "$DEBUG" = "yes"; then
- FLAGS="$FLAGS -O0 -g3 -fno-inline -Wwrite-strings"
+ 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"
+ FLAGS="$FLAGS -Wno-write-strings -Wextra"
+ # glib can't handle this flag
+ # -Wcast-qual
# for Python.h
#FLAGS="$FLAGS -Wno-long-long"
fi