Opened 4 years ago
#13616 new Bugs
"likely" is c++2a-keyword used by gcc 8.1.1 but used as identifier
Reported by: | anonymous | Owned by: | az_sw_dude |
---|---|---|---|
Milestone: | To Be Determined | Component: | date_time |
Version: | Boost 1.67.0 | Severity: | Problem |
Keywords: | Cc: |
Description
In new 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
Note:
See TracTickets
for help on using tickets.