diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2018-01-08 14:06:12 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-01-08 22:58:20 +0200 |
commit | af183f3952d851e66a6f9b9fc7bc256eab6383e5 (patch) | |
tree | a7bb473fca5972836c4d382550adb5fc311d8339 | |
parent | 6a6b451ac063a46645f4335e5a01d79fd733033a (diff) | |
download | qtlocation-mapboxgl-af183f3952d851e66a6f9b9fc7bc256eab6383e5.tar.gz |
[ios] Ignore Boost's 'implicit conversion loses integer precision' warning
-rw-r--r-- | src/mbgl/util/http_header.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/util/http_header.cpp b/src/mbgl/util/http_header.cpp index ce31a06c5e..5921edfb14 100644 --- a/src/mbgl/util/http_header.cpp +++ b/src/mbgl/util/http_header.cpp @@ -6,9 +6,12 @@ #pragma GCC diagnostic ignored "-Wunknown-pragmas" #pragma GCC diagnostic ignored "-Wunused-parameter" #pragma GCC diagnostic ignored "-Wshadow" +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wshorten-64-to-32" #include <boost/spirit/include/qi.hpp> #include <boost/spirit/include/phoenix_core.hpp> #include <boost/spirit/include/phoenix_operator.hpp> +#pragma clang diagnostic pop #pragma GCC diagnostic pop namespace mbgl { |