summaryrefslogtreecommitdiff
path: root/src/mbgl/text/collision.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/collision.hpp')
-rw-r--r--src/mbgl/text/collision.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/text/collision.hpp b/src/mbgl/text/collision.hpp
index bba07b0fb1..50b8e5b218 100644
--- a/src/mbgl/text/collision.hpp
+++ b/src/mbgl/text/collision.hpp
@@ -9,12 +9,13 @@
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wshadow"
#ifdef __clang__
+#pragma GCC diagnostic ignored "-Wunknown-pragmas"
+#endif
+#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wdeprecated-register"
#pragma GCC diagnostic ignored "-Wshorten-64-to-32"
-#else
#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
-#endif
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>