From 6f0b8e75f68e364c021ab27f9ca25a87d9ae1d7c Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 23 Mar 2017 09:41:52 -0400 Subject: [PATCH] enable C++ 11 --- unioncoin-qt.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unioncoin-qt.pro b/unioncoin-qt.pro index 201de3e..53327fb 100644 --- a/unioncoin-qt.pro +++ b/unioncoin-qt.pro @@ -5,7 +5,7 @@ VERSION = 0.8.5.6 INCLUDEPATH += src src/json src/qt i2psam QT += core gui network greaterThan(QT_MAJOR_VERSION, 4): QT += widgets -DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE +DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE BOOST_NO_CXX11_SCOPED_ENUMS CONFIG += no_include_pwd CONFIG += thread SUBDIR = i2psam @@ -45,7 +45,7 @@ contains(RELEASE, 1) { # This can be enabled for Windows, when we switch to MinGW >= 4.4.x. } # for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific -QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 +QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 -std=c++11 # for extra security on Windows: enable ASLR and DEP via GCC linker flags win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat # on Windows: enable GCC large address aware linker flag