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
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
m4/openbox.m4
→
m4/openbox.m4
@@ -77,6 +77,7 @@ if test "$DEBUG" = "yes"; then
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