diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-30 13:16:26 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-30 13:16:26 +1100 |
commit | 9f57c6efaee18d374da2abdb2e556830f2beb592 (patch) | |
tree | ad6fadb86a5cf753f3cdf44791ad4db875cce186 | |
parent | d2cf5bb6c6eb9ec09aaf7db31c1bb7e750d8dcc5 (diff) | |
download | scintilla-mirror-9f57c6efaee18d374da2abdb2e556830f2beb592.tar.gz |
gcc 9 has a new warning deprecated-copy which occurs many times in Qt headers.
Turn off this warning as can't change system headers.
-rw-r--r-- | qt/ScintillaEditPy/ScintillaEditPy.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt/ScintillaEditPy/ScintillaEditPy.pro b/qt/ScintillaEditPy/ScintillaEditPy.pro index 188543930..eaf4aceda 100644 --- a/qt/ScintillaEditPy/ScintillaEditPy.pro +++ b/qt/ScintillaEditPy/ScintillaEditPy.pro @@ -39,7 +39,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-register -Wno-unused-parameter -Wno-empty-body -Wno-deprecated-declarations --std=gnu++17 + QMAKE_CXXFLAGS += -Wno-register -Wno-unused-parameter -Wno-empty-body -Wno-deprecated-declarations -Wno-deprecated-copy --std=gnu++17 LIBS += -ldl } |