# HG changeset patch # User Chris Cannam # Date 1426076406 0 # Node ID 98d4dabbf740a4224edeccea6c226e68d6d3ea40 # Parent 48e4ffa9fb4841cbbed91d8d304604a4552c5539 c++11 flag in qmake project diff -r 48e4ffa9fb48 -r 98d4dabbf740 configure --- a/configure Wed Mar 11 11:52:05 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 48e4ffa9fb48 -r 98d4dabbf740 configure.ac --- a/configure.ac Wed Mar 11 11:52:05 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 48e4ffa9fb48 -r 98d4dabbf740 svcore.pro --- a/svcore.pro Wed Mar 11 11:52:05 2015 +0000 +++ b/svcore.pro Wed Mar 11 12:20:06 2015 +0000 @@ -29,7 +29,7 @@ } } -CONFIG += staticlib qt thread warn_on stl rtti exceptions +CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 QT += network xml QT -= gui