[Boost-bugs] [Boost C++ Libraries] #13616: "likely" is c++2a-keyword used by gcc 8.1.1 but used as identifier

Subject: [Boost-bugs] [Boost C++ Libraries] #13616: "likely" is c++2a-keyword used by gcc 8.1.1 but used as identifier
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-06-24 08:11:43


#13616: "likely" is c++2a-keyword used by gcc 8.1.1 but used as identifier
------------------------------+------------------------
 Reporter: anonymous | Owner: az_sw_dude
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: date_time
  Version: Boost 1.67.0 | Severity: Problem
 Keywords: |
------------------------------+------------------------
 In new [http://www.open-
 std.org/jtc1/sc22/wg21/docs/papers/2018/p0479r5.html C++2a-Specification]
 new attribute-tokens, "likely" and "unlikely", are introduced.
 In GCC 8.1.1 this proposed feature has already been implemented.

 So using GCC8.1.1+ boost (version 1.67) won't compile anymore since
 "likely" is used as identifier in different header files. For example:

 boost/date_time/special_values_parser.hpp:105:17
 boost/date_time/time_parsing.hpp:312:19

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13616>
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 : 2018-06-24 08:16:14 UTC