# HG changeset patch # User Chris Cannam # Date 1426076406 0 # Node ID 63510940080459584e0e7737cfa674f0f8312a02 # Parent 6e2a034f7117d196152bc2647d1f1cc84585d5e0 c++11 flag in qmake project diff -r 6e2a034f7117 -r 635109400804 configure --- a/configure Tue Mar 10 17:40:31 2015 +0000 +++ b/configure Wed Mar 11 12:20:06 2015 +0000 @@ -4343,7 +4343,7 @@ CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" if test "x$GCC" = "xyes"; then - CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" + CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" diff -r 6e2a034f7117 -r 635109400804 configure.ac --- a/configure.ac Tue Mar 10 17:40:31 2015 +0000 +++ b/configure.ac Wed Mar 11 12:20:06 2015 +0000 @@ -53,7 +53,7 @@ CXXFLAGS_MINIMAL="$AUTOCONF_CXXFLAGS" if test "x$GCC" = "xyes"; then - CXXFLAGS_ANY="-std=c++11 -Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" + CXXFLAGS_ANY="-Wall -Wextra -Werror -Woverloaded-virtual -Wformat-nonliteral -Wformat-security -Winit-self -Wswitch-enum -Wconversion -pipe" CXXFLAGS_DEBUG="$CXXFLAGS_ANY -g" CXXFLAGS_RELEASE="$CXXFLAGS_ANY -g0 -O2" CXXFLAGS_MINIMAL="$CXXFLAGS_ANY -g0 -O0" diff -r 6e2a034f7117 -r 635109400804 svgui.pro --- a/svgui.pro Tue Mar 10 17:40:31 2015 +0000 +++ b/svgui.pro Wed Mar 11 12:20:06 2015 +0000 @@ -25,7 +25,7 @@ DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_RUBBERBAND HAVE_LIBLO HAVE_MAD HAVE_ID3TAG } -CONFIG += staticlib qt thread warn_on stl rtti exceptions +CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 QT += network xml gui widgets TARGET = svgui