Opened 5 years ago

Closed 5 years ago

#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:

Description

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 by Antony Polukhin, 5 years ago

Status: newassigned

comment:2 by Antony Polukhin, 5 years ago

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 by Antony Polukhin, 5 years ago

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