diff options
author | nyamatongwe <devnull@localhost> | 2012-05-17 13:34:37 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-05-17 13:34:37 +1000 |
commit | 2bcf6177682e59969d6c6ce54a39bf009ac75a49 (patch) | |
tree | f3bde96e064a3166f3ff597c233a4179631019bb | |
parent | 5f4b7521685a0f532b275a43ef44dbaf0d773029 (diff) | |
download | scintilla-mirror-2bcf6177682e59969d6c6ce54a39bf009ac75a49.tar.gz |
Avoid noisy warnings from GCC on Qt.
-rw-r--r-- | include/Platform.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Platform.h b/include/Platform.h index 80733ef75..4cd2c5c0f 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -516,4 +516,10 @@ public: #pragma warning(disable: 4244 4309 4514 4710) #endif +#if defined(__GNUC__) && defined(SCINTILLA_QT) +#pragma GCC diagnostic ignored "-Wmissing-braces" +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" +#pragma GCC diagnostic ignored "-Wchar-subscripts" +#endif + #endif |