diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2019-06-22 16:04:49 +1000 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2019-06-22 16:04:49 +1000 |
commit | c4eba25f6e0bf6ce502ae5cc8c23f7acd1d9d292 (patch) | |
tree | f5c29a30975a2103dae317ab9750d6f9f569e496 | |
parent | 1db9f81c3110e11c4c522ad6eb484badc41af3db (diff) | |
download | scintilla-mirror-c4eba25f6e0bf6ce502ae5cc8c23f7acd1d9d292.tar.gz |
Suppress GCC 8 diagnostic Wcast-function-type as this occurs many times for
casts in code generated by Shiboken.
-rw-r--r-- | qt/ScintillaEdit/ScintillaEdit.h.template | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/ScintillaEdit/ScintillaEdit.h.template b/qt/ScintillaEdit/ScintillaEdit.h.template index 875f2bee8..c218521fe 100644 --- a/qt/ScintillaEdit/ScintillaEdit.h.template +++ b/qt/ScintillaEdit/ScintillaEdit.h.template @@ -65,6 +65,9 @@ public: #if defined(__GNUC__) #pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#if !defined(__clang__) && (__GNUC__ >= 8) +#pragma GCC diagnostic ignored "-Wcast-function-type" +#endif #endif #endif /* SCINTILLAEDIT_H */ |