From 741207a2d09c9ac45586eb8dd15eb1ca00b97d65 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 24 May 2004 16:14:42 +0000 Subject: [PATCH] add -Werror flag to debug mode SVN-Revision: 1307 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5f2e2441f..8224c9779 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ AC_MSG_CHECKING(for debug mode) AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug], [enable debugging mode]),, enable_debug="yes") if test "x${enable_debug}" != "xno"; then - CXXFLAGS="$CXXFLAGS -Wall -W -DDEBUG -O0 -g3" + CXXFLAGS="$CXXFLAGS -Wall -Werror -DDEBUG -O0 -g3" AC_MSG_RESULT([enabled]) else AC_MSG_RESULT([disabled]) -- 2.11.0