summaryrefslogtreecommitdiff
path: root/platform/default
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default')
-rw-r--r--platform/default/png_writer.cpp3
-rw-r--r--platform/default/utf.cpp9
2 files changed, 0 insertions, 12 deletions
diff --git a/platform/default/png_writer.cpp b/platform/default/png_writer.cpp
index 9ef9052158..b89e253f85 100644
--- a/platform/default/png_writer.cpp
+++ b/platform/default/png_writer.cpp
@@ -2,10 +2,7 @@
#include <mbgl/util/image.hpp>
#include <mbgl/util/premultiply.hpp>
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow"
#include <boost/crc.hpp>
-#pragma GCC diagnostic pop
#include <cassert>
#include <cstring>
diff --git a/platform/default/utf.cpp b/platform/default/utf.cpp
index fdcff344b9..f0f9d3e67a 100644
--- a/platform/default/utf.cpp
+++ b/platform/default/utf.cpp
@@ -1,16 +1,7 @@
#include <mbgl/util/utf.hpp>
-#if defined(__GNUC__) && __GNUC__ >= 7
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
-#endif // defined(__GNUC__) && __GNUC__ >= 7
-
#include <boost/locale/encoding_utf.hpp>
-#if defined(__GNUC__) && __GNUC__ >= 7
-#pragma GCC diagnostic pop
-#endif // defined(__GNUC__) && __GNUC__ >= 7
-
namespace mbgl {
namespace util {