Opened 7 years ago

Closed 5 years ago

#11410 closed Bugs (fixed)

Compile error while trying to include support_extended_variant.hpp

Reported by: ruslan_baratov@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost 1.58.0 Severity: Regression
Keywords: Cc:

Description

It's not possible to include header 'support_extended_variant.hpp'. Error message:

In file included from /.../include/boost/spirit/include/support_extended_variant.hpp:16:
/.../include/boost/spirit/home/support/extended_variant.hpp:33:9: error: C++ requires a type specifier for all declarations
        BOOST_PP_ENUM_PARAMS_WITH_A_DEFAULT(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Compiler: clang++, additional flags: -std=c++11, -stdlib=libc++

Boost 1.57 works fine

Change History (2)

comment:2 by Joel de Guzman, 5 years ago

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