Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang compile error - tuple.hpp #852

Open
HonP opened this issue Jan 17, 2025 · 1 comment
Open

Clang compile error - tuple.hpp #852

HonP opened this issue Jan 17, 2025 · 1 comment

Comments

@HonP
Copy link

HonP commented Jan 17, 2025

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.

@AzothAmmo
Copy link
Contributor

Potentially this: #835

In the future include a minimal example along with your compiler error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants