Open fcooper8472 opened 3 years ago
These compile errors occur when compiling in C++20 mode
set(CMAKE_CXX_STANDARD 20)
but not in C++17 mode
set(CMAKE_CXX_STANDARD 17)
My guess is there's something range-v3 assumes to be available in C++20 that is not yet available in the versions of AppleClang I've tried using.
Slightly annoying, as it would be nice to be able to use range-v3 along with features that ARE already available.
This should be already fixed by c6d7c748, but it's not released yet. I ran into the same issue, testing the build with the fix commit at the moment.
I'm trying to compile a library using range-v3, on GitHub actions. CMake configuration has shows the following compiler:
Building fails with the following errors:
It compiles fine on Ubuntu using a range of GCC versions, and on Windows. Any ideas?