-
Notifications
You must be signed in to change notification settings - Fork 75
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
Compilation errors with single-source branch and clang #2276
Comments
|
The reason is, that we use a C++17 feature, which is disable by default until Clang 18. Clang 19 will enable it by default. Please set the compiler flag For more details, see here: alpaka/cmake/alpakaCommon.cmake Lines 197 to 202 in 887aee9
|
We added The provided godbolt example works fine when adding |
Compiling with clang and the single source file included gives me these errors:
https://godbolt.org/z/9ffdPPKzj
I could not find a clang version that it worked for.
The text was updated successfully, but these errors were encountered: