add -Werror flag to debug mode
authorMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 16:14:42 +0000 (16:14 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 24 May 2004 16:14:42 +0000 (16:14 +0000)
SVN-Revision: 1307

configure.ac

index 5f2e244..8224c97 100644 (file)
@@ -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])