Closed awvwgk closed 1 year ago
From the source code:
// C++ 20 operator== rewriting should take care of this for us, indeed // if we don't disable it, we cause Concept recursion to infinity!
if __cplusplus < 202000L && !_HAS_CXX20
Ergo, Conda is not setting __cplusplus
to the right value for C++ 20, and that is the source of your problems.
Thanks for the hint. The conda recipe for outcome is currently staged at https://github.com/conda-forge/staged-recipes/pull/19502 and I've been running out of ideas what is going wrong with the build and conda-forge compilers.
Workaround that fixed the issue locally for me was adding -DUNIT_TESTS_CXX_VERSION=17
to force the unit tests to use C++17 instead of C++20.
Since this hasn't seen any activity in a while, I'm going ahead and close this. Feel free to reopen if further qualifying information comes up (e.g. a reprex).
Build error
System info
CMake configuration