Changes between Initial Version and Version 1 of Ticket #12861, comment 6
- Timestamp:
- Feb 25, 2017, 1:00:02 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12861, comment 6
initial v1 12 12 As a workaround you can either update gcc/libstdc++ or alter your local copy of Boost by replacing `std::nth_element` calls with `std::sort` calls. Just use `grep` to find them in `boost/geometry`. There are some calls in the rstar balancing algorithm and one call in packing algorithm, here: https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/pack_create.hpp#L70 which could be replaced with: 13 13 14 15 14 {{{ 16 15 std::sort(first, last, point_entries_comparer<I>()); 17 16 }}} 18 17 18 EDIT: You mentioned earlier that it works fine with gcc 4.8.1. Are you sure about it? According to this bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59116 this version is also affected. Also the timestamp for 4.8.1 is later than for 4.7.3 (https://gcc.gnu.org/develop.html#timeline) which AFAIU is also affected.