From 841a83fa6d710f76379c5173304b2f16dbb6dd5f Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 18 Mar 2007 15:15:38 +0000 Subject: [PATCH] add -Wwrite-strings in debug mode --- m4/openbox.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/openbox.m4 b/m4/openbox.m4 index 663f91db..796e2787 100644 --- a/m4/openbox.m4 +++ b/m4/openbox.m4 @@ -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 -- 2.39.2