summaryrefslogtreecommitdiff
path: root/bin/render.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-03-11 14:37:28 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-03-11 14:37:28 +0200
commitf3f8e348a1930dc5bd3f96f28b176e25402aee56 (patch)
treee31e30154c1299df20ba5b56353b0ce88b011653 /bin/render.cpp
parenta5998dc59b0b2ba37b4ff8543d5decb7e37c9cfa (diff)
downloadqtlocation-mapboxgl-f3f8e348a1930dc5bd3f96f28b176e25402aee56.tar.gz
Fix build warnings on GCC
Apperently boost has a few quirks on its headers.
Diffstat (limited to 'bin/render.cpp')
-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>