diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-11 14:37:28 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-11 14:37:28 +0200 |
commit | f3f8e348a1930dc5bd3f96f28b176e25402aee56 (patch) | |
tree | e31e30154c1299df20ba5b56353b0ce88b011653 /bin | |
parent | a5998dc59b0b2ba37b4ff8543d5decb7e37c9cfa (diff) | |
download | qtlocation-mapboxgl-f3f8e348a1930dc5bd3f96f28b176e25402aee56.tar.gz |
Fix build warnings on GCC
Apperently boost has a few quirks on its headers.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/render.cpp | 7 |
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> |