You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are using C++20, which recent releases of Clang and GCC should partially support.
Surely there is some recipe for C++20 flag detection and application using CMake already...
In file included from /Users/jrhammon/Work/SYCL/triSYCL/tests/jacobi/include/jacobi-stencil.hpp:4:
/Users/jrhammon/Work/SYCL/triSYCL/tests/jacobi/include/stencil-fxd.hpp:248:15: warning: explicit capture of 'this' with a capture default of '=' is a C++20 extension
[-Wc++20-extensions]
[=, this] (cl::sycl::id<2> id) {
The text was updated successfully, but these errors were encountered:
Yes, this is the annoying part because I was using this code before without this and I had some warnings with C++20.
So, I added it to avoid warnings with C++20 but now I have some warnings when not using C++20... :-(
Anyway, we are in 2020 right? :-)
You are using C++20, which recent releases of Clang and GCC should partially support.
Surely there is some recipe for C++20 flag detection and application using CMake already...
The text was updated successfully, but these errors were encountered: