Skip to content

Compile error with gcc #741

@jack6000

Description

@jack6000

This code:

msgpack::sbuffer ss;
msgpack::pack(ss, msgpack::type::make_tuple(1, "toto", msgpack::type::make_tuple()));

compile fine with clang but produce error with gcc.

But this code:

msgpack::sbuffer ss;
auto tt = msgpack::type::make_tuple();
msgpack::pack(ss, msgpack::type::make_tuple(1, "toto", tt));

which is equivalent compile fine with both.

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