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 | 55b8b8d230d06ca753c1a4fe1e859dfe55eef2dd (patch) | |
| tree | 03ed1d4c5df7cc1b8cb46ad167c486cdf4d5c357 | |
| parent | 9ae5371190e9ba0f7cd5eb3c348c610c22ee6114 (diff) | |
| download | scintilla-mirror-55b8b8d230d06ca753c1a4fe1e859dfe55eef2dd.tar.gz | |
Avoid warnings from G++ 7 for ScintillaEditPy in code generated by Shiboken.
| -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 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 } |
