Skip to content

Won't compile with boost 1.65.1 #785

@oleksandr-manakov

Description

@oleksandr-manakov

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions