# HG changeset patch # User Chris Cannam # Date 1403079205 -3600 # Node ID 51da09385b3896e1b1c1d28f5e440cef9d41f2ce # Parent 40c6c9344ff6af5642ceaf288b1e07afa0e9b23d Configure stuff and fixes for -Werror diff -r 40c6c9344ff6 -r 51da09385b38 configure --- a/configure Wed Jun 18 08:40:46 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 40c6c9344ff6 -r 51da09385b38 configure.ac --- a/configure.ac Wed Jun 18 08:40:46 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