add -Wwrite-strings in debug mode
This commit is contained in:
parent
3678f8df8a
commit
841a83fa6d
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ AC_DEFUN([OB_COMPILER_FLAGS],
|
|||
if test "$GCC" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
if test "$DEBUG" = "yes"; then
|
||||
FLAGS="$FLAGS -O0 -g -fno-inline"
|
||||
FLAGS="$FLAGS -O0 -g -fno-inline -Wwrite-strings"
|
||||
FLAGS="$FLAGS -Wall -Wsign-compare -Waggregate-return"
|
||||
FLAGS="$FLAGS -Wcast-qual -Wbad-function-cast -Wpointer-arith"
|
||||
# for Python.h
|
||||
|
|
Loading…
Reference in a new issue