From: Dana Jansens Date: Mon, 4 Oct 2010 22:46:32 +0000 (-0400) Subject: add some more warning flags for debug builds X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=a21e9c9cc5f2b1a62e7812c1bf4393089505abeb;p=chaz%2Fopenbox 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 --- diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 86d3e0b5..862c6891 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -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