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

Error when building with clang 19 #166

Closed
yachoor opened this issue Jul 16, 2024 · 0 comments
Closed

Error when building with clang 19 #166

yachoor opened this issue Jul 16, 2024 · 0 comments

Comments

@yachoor
Copy link

yachoor commented Jul 16, 2024

It seems clang introduced a new error: missing-template-arg-list-after-template-kw resulting in build failures:

In file included from <source>:1:
In file included from /opt/compiler-explorer/libs/type_safe/trunk/include/type_safe/types.hpp:21:
/opt/compiler-explorer/libs/type_safe/trunk/include/type_safe/integer.hpp:193:41: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  193 |         return integer(Policy::template do_multiplication(value_, integer_type(-1)));
      |                                         ^
/opt/compiler-explorer/libs/type_safe/trunk/include/type_safe/integer.hpp:200:35: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  200 |         value_ = Policy::template do_addition(value_, integer_type(1));
      |                                   ^
/opt/compiler-explorer/libs/type_safe/trunk/include/type_safe/integer.hpp:216:35: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
  216 |         value_ = Policy::template do_subtraction(value_, integer_type(1));
      |                                   ^
3 errors generated.
Compiler returned: 1
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

1 participant