From 55b8b8d230d06ca753c1a4fe1e859dfe55eef2dd Mon Sep 17 00:00:00 2001 From: Neil Date: Thu, 15 Jun 2017 09:39:06 +1000 Subject: Avoid warnings from G++ 7 for ScintillaEditPy in code generated by Shiboken. --- qt/ScintillaEditPy/ScintillaEditPy.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qt/ScintillaEditPy') diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro index 6193c3fb6..d5367d379 100644 --- a/qt/ScintillaEditPy/ScintillaEditPy.pro +++ b/qt/ScintillaEditPy/ScintillaEditPy.pro @@ -38,7 +38,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