binary1.cpp
.\boost/spirit/home/karma/binary/binary.hpp(197): error C2061: syntax error: identifier 'BOOST_SCOPED_ENUM'
.\boost/spirit/home/karma/binary/binary.hpp(198): error C2913: explicit specialization; 'boost::spirit::karma::detail::what' is not a specialization of a class template
.\boost/spirit/home/karma/binary/binary.hpp(207): error C2913: explicit specialization; 'boost::spirit::karma::detail::what' is not a specialization of a class template
.\boost/spirit/home/karma/binary/binary.hpp(216): error C2913: explicit specialization; 'boost::spirit::karma::detail::what' is not a specialization of a class template
.\boost/spirit/home/karma/binary/binary.hpp(220): error C2061: syntax error: identifier 'BOOST_SCOPED_ENUM'
.\boost/spirit/home/karma/binary/binary.hpp(222): error C2882: 'endian': illegal use of namespace identifier in expression
.\boost/spirit/home/karma/binary/binary.hpp(222): note: the template instantiation context (the oldest one first) is
.\boost/spirit/home/karma/binary/binary.hpp(280): note: see reference to class template instantiation 'boost::spirit::karma::any_binary_generator<T>' being compiled
.\boost/spirit/home/karma/binary/binary.hpp(222): error C2065: 'bits': undeclared identifier
.\boost/spirit/home/karma/binary/binary.hpp(222): error C2977: 'boost::spirit::karma::any_binary_generator': too many template arguments
.\boost/spirit/home/karma/binary/binary.hpp(222): note: see declaration of 'boost::spirit::karma::any_binary_generator'
.\boost/spirit/home/karma/binary/binary.hpp(222): error C3203: 'any_binary_generator': unspecialized class template can't be used as a template argument for template parameter 'Derived', expected a real type
...
Desc
Boost.Spirit
failed build with "error C2061: syntax error: identifier 'BOOST_SCOPED_ENUM' " on Windows MSVC.Info
Reproduce Steps
Open
x64 Native Tools Command Prompt for VS 2022
Error