# HG changeset patch # User Chris Cannam # Date 1403079205 -3600 # Node ID b3b673d133a066c4414c5289b3424b43be477eef # Parent f1cab64363d7e4f18a461caee2e2eb1b4b5dfc77 Configure stuff and fixes for -Werror diff -r f1cab64363d7 -r b3b673d133a0 configure --- a/configure Wed Jun 18 08:45:13 2014 +0100 +++ b/configure Wed Jun 18 09:13:25 2014 +0100 @@ -4202,7 +4202,7 @@ CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" if test "x$GCC" = "xyes"; then - CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" + CXXFLAGS_DEBUG="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" CXXFLAGS_MINIMAL="-g0 -O0" fi diff -r f1cab64363d7 -r b3b673d133a0 configure.ac --- a/configure.ac Wed Jun 18 08:45:13 2014 +0100 +++ b/configure.ac Wed Jun 18 09:13:25 2014 +0100 @@ -50,7 +50,7 @@ CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" if test "x$GCC" = "xyes"; then - CXXFLAGS_DEBUG="-Wall -Woverloaded-virtual -Wextra -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" + CXXFLAGS_DEBUG="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -g -pipe" CXXFLAGS_RELEASE="-g0 -O2 -Wall -pipe" CXXFLAGS_MINIMAL="-g0 -O0" fi