The problem presented itself while using the boost unit test framework. It seems like that it is both a type deduction and a lambda capture issue, which only happens if the type deduction has to be carried out through many layers of indirection. Therefore, unfortunately, I couldn't eliminate the boost unit test framework from the minimal example.
The error is:
test_true_minimal.cpp:20:30: error: variable 'j' cannot be implicitly captured in a lambda with no capture-default specified
g([=](const test_class<j, 3> item) {});
I am using the newest commit from the release/10.x branch (edbe962459da6e3b7b4168118f93a77847b54e02) I built clang locally, with the build script install_llvm.sh (attached) inside an archlinux singularity container. boost has been installed from the arch repos, version 1.72.
I read the guide for regarding bug reports, but I am not sure in this particular case which files are relevant. Please let me know if you need any further input.
Extended Description
The problem presented itself while using the boost unit test framework. It seems like that it is both a type deduction and a lambda capture issue, which only happens if the type deduction has to be carried out through many layers of indirection. Therefore, unfortunately, I couldn't eliminate the boost unit test framework from the minimal example.
The error is:
I am using the newest commit from the release/10.x branch (edbe962459da6e3b7b4168118f93a77847b54e02) I built clang locally, with the build script
install_llvm.sh
(attached) inside an archlinux singularity container. boost has been installed from the arch repos, version 1.72.I read the guide for regarding bug reports, but I am not sure in this particular case which files are relevant. Please let me know if you need any further input.
The original discussion on GitHub might also be useful: https://github.com/illuhad/hipSYCL/issues/231