summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/render.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/render.cpp b/bin/render.cpp
index fad6600cf7..9129a4bcfa 100644
--- a/bin/render.cpp
+++ b/bin/render.cpp
@@ -14,7 +14,14 @@
#include <mbgl/platform/default/log_stderr.hpp>
#endif
+#pragma GCC diagnostic push
+#ifndef __clang__
+#pragma GCC diagnostic ignored "-Wunused-local-typedefs"
+#pragma GCC diagnostic ignored "-Wshadow"
+#endif
#include <boost/program_options.hpp>
+#pragma GCC diagnostic pop
+
namespace po = boost::program_options;
#include <cassert>