From: Matthias Braun Date: Mon, 24 May 2004 16:14:42 +0000 (+0000) Subject: add -Werror flag to debug mode X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=741207a2d09c9ac45586eb8dd15eb1ca00b97d65;p=supertux.git add -Werror flag to debug mode SVN-Revision: 1307 --- 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])