Changes between Initial Version and Version 1 of Ticket #12861, comment 6


Ignore:
Timestamp:
Feb 25, 2017, 1:00:02 AM (6 years ago)
Author:
awulkiew

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12861, comment 6

    initial v1  
    1212As 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:
    1313
    14 
    1514{{{
    1615std::sort(first, last, point_entries_comparer<I>());
    1716}}}
    1817
     18EDIT: 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.