You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
In file included from /tmp/gl/src/mbgl/map/tile_parser.cpp:15:
In file included from src/mbgl/text/collision.hpp:16:
In file included from /usr/local/include/boost/geometry.hpp:17:
In file included from /usr/local/include/boost/geometry/geometry.hpp:43:
In file included from /usr/local/include/boost/geometry/strategies/strategies.hpp:74:
In file included from /usr/local/include/boost/geometry/strategies/agnostic/relate.hpp:14:
In file included from /usr/local/include/boost/geometry/algorithms/detail/relate/relate.hpp:53:
/usr/local/include/boost/geometry/algorithms/detail/relate/linear_areal.hpp:300:81: error: implicit conversion loses integer precision: 'long' to 'const int' [-Werror,-Wshorten-64-to-32]
int const next_ring_index = prev_seg_id_ptr->ring_index + 1;
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/usr/local/include/boost/geometry/algorithms/detail/relate/linear_areal.hpp:371:73: error: implicit conversion loses integer precision: 'long' to 'const int' [-Werror,-Wshorten-64-to-32]
int const next_ring_index = prev_seg_id_ptr->ring_index + 1;
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /tmp/gl/src/mbgl/map/tile_parser.cpp:15:
In file included from src/mbgl/text/collision.hpp:16:
In file included from /usr/local/include/boost/geometry.hpp:17:
In file included from /usr/local/include/boost/geometry/geometry.hpp:48:
In file included from /usr/local/include/boost/geometry/algorithms/buffer.hpp:32:
In file included from /usr/local/include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp:27:
In file included from /usr/local/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp:42:
In file included from /usr/local/include/boost/geometry/algorithms/detail/occupation_info.hpp:21:
/usr/local/include/boost/geometry/algorithms/detail/get_left_turns.hpp:249:43: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
previous_index = cluster_size - 1;
~ ~~~~~~~~~~~~~^~~
3 errors generated.
Still seeing this, and can't figure out with git bisect when it started. It appears to me to be a problem of treating as fatal a couple warnings in Boost around implicit integer conversion.
@springmeyer@ljbade Any ideas here related to recent Mason changes / Boost pinning to support Android?
I don't see this on any of the other platforms. You can replicate with:
Activity
incanus commentedon Feb 5, 2015
Still seeing this, and can't figure out with
git bisectwhen it started. It appears to me to be a problem of treating as fatal a couple warnings in Boost around implicit integer conversion.@springmeyer @ljbade Any ideas here related to recent Mason changes / Boost pinning to support Android?
I don't see this on any of the other platforms. You can replicate with:
incanus commentedon Feb 5, 2015
Here we go. The problem is in
coreand only on 64-bit, because of this being set toYES:If I compile for iPhone 4s simulator (32-bit), there are no problems. So Boost is causing us grief on 64-bit iOS.
incanus commentedon Feb 5, 2015
Came about because of the introduction of
-Werror(treat warnings as errors) by @kkaefer in 618a4a5.jfirebaugh commentedon Feb 5, 2015
33f611c is our standard solution for cases like this.
jfirebaugh commentedon Feb 5, 2015
(The
#pragmas around boost includes that is.)incanus commentedon Feb 5, 2015
Oh, perfecto — thanks @jfirebaugh; will implement.
fixes #782: ignore 64->32 conversion warnings for Boost
Merge pull request #817 from mapbox/782-fix-ios-conversion-warning