aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEditPy
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-01-28 08:32:17 +1100
committerNeil <nyamatongwe@gmail.com>2018-01-28 08:32:17 +1100
commitcc7726eda8aadd6421e4b867b013518aee465ae9 (patch)
tree00477b87583b25e113d0bac910dcb2cfd089349a /qt/ScintillaEditPy
parent5baf92142d47f7d653395c60d758be48775ef313 (diff)
downloadscintilla-mirror-cc7726eda8aadd6421e4b867b013518aee465ae9.tar.gz
Allow C++17 in all build and project files.
Diffstat (limited to 'qt/ScintillaEditPy')
-rw-r--r--qt/ScintillaEditPy/ScintillaEditPy.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro
index d5367d379..dce11ccac 100644
--- a/qt/ScintillaEditPy/ScintillaEditPy.pro
+++ b/qt/ScintillaEditPy/ScintillaEditPy.pro
@@ -6,7 +6,7 @@ TARGET = ScintillaEditPy
# Clear debug & release so that sepbuild.pri can set one or the other
CONFIG -= debug release
-CONFIG += c++14
+CONFIG += c++1z
include(sepbuild.pri)
@@ -40,7 +40,7 @@ unix:linux-* {
# gcc on freebsd 9.2, at least, doesn't support -Wno-empty-body
# g++ 7.x has deprecated std::auto_ptr but that is used by code generated by Shiboken so
# turn off warning.
- QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-empty-body -Wno-deprecated-declarations
+ QMAKE_CXXFLAGS += -Wno-register -Wno-unused-parameter -Wno-empty-body -Wno-deprecated-declarations --std=gnu++17
LIBS += -ldl
}