8000 Clang compile error - tuple.hpp · Issue #852 · USCiLab/cereal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content 8000
Clang compile error - tuple.hpp #852
Open
@HonP

Description

@HonP

cereal-1.3.2-r2
clang version 19.1.2
Target: x86_64-pc-linux-gnu

error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]

/usr/lib/ccache/bin/clang++ -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_shared_lib -I/var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include -march=ivybridge -O2 -pipe -flto=thin -std=gnu++11 -Wall -Wextra -pedantic -Wshadow -Wold-style-cast -MD -MT sandbox/CMakeFiles/sandbox_vs.dir/sandbox_vs.cpp.o -MF sandbox/CMakeFiles/sandbox_vs.dir/sandbox_vs.cpp.o.d -o sandbox/CMakeFiles/sandbox_vs.dir/sandbox_vs.cpp.o -c /var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_vs.cpp In file included from /var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/sandbox/sandbox_vs.cpp:57: /var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include/cereal/types/tuple.hpp:98:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 98 | serialize<Height - 1>::template apply( ar, tuple ); | ^ /var/tmp/portage/dev-libs/cereal-1.3.2-r2/work/cereal-1.3.2/include/cereal/types/tuple.hpp:119:85: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 119 | tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple ); | ^ 2 errors generated.

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

      0