[Boost-bugs] [Boost C++ Libraries] #13027: type_index/stl_type_index.hpp incorrect compiler check

Subject: [Boost-bugs] [Boost C++ Libraries] #13027: type_index/stl_type_index.hpp incorrect compiler check
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-05-12 20:13:20


#13027: type_index/stl_type_index.hpp incorrect compiler check
-------------------------------------------+------------------------
 Reporter: Frank Aurich <aurich.frank@…> | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: type_index
  Version: Boost 1.64.0 | Severity: Problem
 Keywords: |
-------------------------------------------+------------------------
 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/13027>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-05-12 20:17:01 UTC