From 2bcf6177682e59969d6c6ce54a39bf009ac75a49 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 17 May 2012 13:34:37 +1000 Subject: Avoid noisy warnings from GCC on Qt. --- include/Platform.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3