diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-06-15 09:39:06 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-06-15 09:39:06 +1000 |
| commit | 826db4ec7359cccfa3e2f4cc14373d5b8db931fe (patch) | |
| tree | 6334d97a130fe25820df0385c8ab8bca85c3edef | |
| parent | bb093407c1399d7f0df8765935f4f259ebb32595 (diff) | |
| download | scintilla-mirror-826db4ec7359cccfa3e2f4cc14373d5b8db931fe.tar.gz | |
Backport: Avoid warnings from G++ 7 for ScintillaEditPy in code generated by Shiboken.
Backport of changeset 6316:19f6636ec133.
| -rw-r--r-- | qt/ScintillaEditPy/ScintillaEditPy.pro | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro index e7457da60..42e38f34d 100644 --- a/qt/ScintillaEditPy/ScintillaEditPy.pro +++ b/qt/ScintillaEditPy/ScintillaEditPy.pro @@ -45,7 +45,9 @@ unix:!mac { } unix:linux-* { # gcc on freebsd 9.2, at least, doesn't support -Wno-empty-body - QMAKE_CXXFLAGS += -Wno-unused-parameter -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 LIBS += -ldl } |
