You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems cpp-netlib v0.13 won't compile with boost 1.65.1
1>boost\boost/fusion/support/detail/and.hpp(22): error C2872: 'true_type': ambiguous symbol
1>boost\boost/type_traits/integral_constant.hpp(101): note: could be 'boost::integral_constant<bool,true> boost::true_type'
1>boost\boost/spirit/home/support/common_terminals.hpp(87): note: or 'boost::spirit::true_type'
1>boost\boost/fusion/support/detail/and.hpp(26): note: see reference to class template instantiation 'boost::fusion::detail::and_impl<>' being compiled
1>boost\boost/fusion/support/detail/and.hpp(36): note: see reference to class template instantiation 'boost::fusion::detail::and_impl1<>' being compiled
1>boost\boost/spirit/home/support/terminal.hpp(44): note: see reference to class template instantiation 'boost::fusion::detail::and_<>' being compiled
1>boost\boost/proto/detail/preprocessed/expr_variadic.hpp(50): note: see reference to class template instantiation 'boost::spirit::terminal_ex<Terminal,boost::fusion::vector<const T (&)[6]>>' being compiled
1> with
1> [
1> Terminal=boost::spirit::tag::lit,
1> T=char
1> ]
1>cpp-netlib\boost/network/protocol/http/server/impl/parsers.ipp(54): note: see reference to class template instantiation 'boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<T>,0>' being compiled
1> with
1> [
1> T=boost::spirit::terminal_ex<boost::spirit::tag::lit,boost::fusion::vector<const char (&)[6]>>
1> ]
Compiled fine with previous versions.
Building with Visual Studio 2017 (latest, v15.3.5).
I submitted pull request #832 to be able to compile with Visual C++ 2017 15.6.4.
I tested it with Boost 1.67 beta 1, but I think it should work with previous boost versions too.
Activity
blackccpie commentedon Jan 8, 2018
Hi @oleksandr-manakov,
seems that the following patch in
parsers.ippcorrects the error:Regards
anonimal commentedon Feb 15, 2018
I cannot reproduce, not even with boost 1.66
This may most-likely be MSVS-specific.
enricodetoma commentedon Mar 27, 2018
I submitted pull request #832 to be able to compile with Visual C++ 2017 15.6.4.
I tested it with Boost 1.67 beta 1, but I think it should work with previous boost versions too.