Open jtramm opened 6 months ago
@llvm/issue-subscribers-clang-frontend
Author: John Tramm (jtramm)
I've been encountering this issue as well. I've done some bisecting, and I think the breaking commit is b86e099.
@mizvekov
Already reported, see here: https://github.com/llvm/llvm-project/pull/89807#issuecomment-2099156584
Xtensor already includes workaround for template-template-args changes, but it tests for it in GCC specific way, instead of using standard feature testing macros.
Sometime in the last month and a half or so, LLVM has broken for the C++ xtensor header library (https://github.com/xtensor-stack/xtensor).
I have a minimal reproducer,
main.cpp
:compiled as:
It works fine with llvm 18.1.0, and up to 1c683eb324aea08b2f9de26cac27532da8a0f7e3, but was broken somewhere between 1c683eb324aea08b2f9de26cac27532da8a0f7e3 and 05f4448d40f00b9fb2447e1c32cd18a7a9b8b011.
With the current develop version of LLVM, it gives the following error: