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
{{ message }}
Repository navigation
Non-conformant testing of template-template-args c++ standard feature #2783
The problem is that this workaround is testing for GCC specifically and C++17, excluding Clang.
GCC has included this change for a while, but it's only enabled by default in C++17 and above, but can be enabled and disabled freely with a flag as well.
Clang has never enabled it by default until now, deferring it to the flag only. This is changing with the next version, where it's going to be enabled in all language versions, and the flag becomes deprecated, to be removed in the version after that.
This means building this project is failing when this feature's enablement differs from default. With the next version of Clang, it's not going to work with the default there either.
Activity
Fix feature check for clang-19+
Fix feature check for clang-19+
mizvekov commentedon May 29, 2024
There is another place that looks like a candidate for the same fix:
xtensor/include/xtensor/xexpression_traits.hpp
Line 106 in d9c3782
A user reported here that this also fixes a similar issue: llvm/llvm-project#89807 (comment)
Xtensor template fix
JohanMabille commentedon Mar 27, 2025
This has been fixed in #2833.