#13027 closed Bugs (fixed)

type_index/stl_type_index.hpp incorrect compiler check

Reported by: Frank Aurich <aurich.frank@…> Owned by: Antony Polukhin
Milestone: Boost 1.65.0 Component: type_index
Version: Boost 1.64.0 Severity: Problem
Keywords: Cc:


In file stl_type_index.hpp on line 181 there's a compiler check that only works for gcc 4.5 or newer, but only up to gcc 4.9. For gcc5 and gcc6 the other code line (using boost::hash_range) is executed, even though std::type_info::hash_code() is a C++11 feature and supported by these newer gcc versions.

Change History (3)

comment:1 Changed 19 months ago by Antony Polukhin

Status: newassigned

comment:2 Changed 19 months ago by Antony Polukhin

Milestone: To Be DeterminedBoost 1.65.0

Fixed in be747162 in develop branch. Will be merged to master as soon as the regression tests will cycle.

comment:3 Changed 15 months ago by Antony Polukhin

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.