From 826db4ec7359cccfa3e2f4cc14373d5b8db931fe Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 15 Jun 2017 09:39:06 +1000 Subject: Backport: Avoid warnings from G++ 7 for ScintillaEditPy in code generated by Shiboken. Backport of changeset 6316:19f6636ec133. --- qt/ScintillaEditPy/ScintillaEditPy.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qt/ScintillaEditPy/ScintillaEditPy.pro') 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 } -- cgit v1.2.3