aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2012-05-17 13:34:37 +1000
committernyamatongwe <unknown>2012-05-17 13:34:37 +1000
commit9d266964ec3a759a706f5e2708b35ff3234026de (patch)
tree475940207fe90c94ac326196d4824afe8e31721e
parent234bcfb66a8fcbf41a7acd7c10ca28790d51ac3f (diff)
downloadscintilla-mirror-9d266964ec3a759a706f5e2708b35ff3234026de.tar.gz
Avoid noisy warnings from GCC on Qt.
-rw-r--r--include/Platform.h6
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