Closed rkonklewski-am2m closed 1 year ago
I first thought it was a compiler bug, but it also reproduces with gcc 12.2, which is an entirely different compiler. See https://godbolt.org/z/KTd6qG3es
Thanks for your report, could you open a PR with your suggested fix?
Done. I did some more digging. It was invalid C++20 syntax after all. Interestingly, it was valid C++17. C++20 changed the requirements for aggregate types.
Hi, @Naios!
Found another one ;) MSVC 2019 seems to have a problem constructing
cti::detail::transforms::unsafe_unlocker
with initializer list syntax insidecti::detail::transforms::wait_relaxed()
.To fix it, there needs be a constructor such as the following:
Commit Hash
4.2.0 release
Expected Behavior
No build errors.
Actual Behavior
Steps to Reproduce
Your Environment