add some more warning flags for debug builds
-Wno-write-strings so that "foo" is treated as a const char* not a char*. -Wextra for more fun
This commit is contained in:
parent
6e5de3b57e
commit
a21e9c9cc5
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ AC_DEFUN([OB_COMPILER_FLAGS],
|
|||
FLAGS="$FLAGS -O0 -ggdb -fno-inline -Wwrite-strings"
|
||||
FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
|
||||
FLAGS="$FLAGS -Wbad-function-cast -Wpointer-arith"
|
||||
FLAGS="$FLAGS -Wno-write-strings -Wextra"
|
||||
# glib can't handle this flag
|
||||
# -Wcast-qual
|
||||
# for Python.h
|
||||
|
|
Loading…
Reference in a new issue