DNedic/lockfree

README should mention C++20 is needed to run tests

DrDub opened this issue · 1 comments

DrDub commented

tests/CMakeLists.txt contains the following lines:

 # Required in order to test the std::span API as well
target_compile_features(tests PRIVATE cxx_std_20)

In particular, the tests do not compile with gcc-10.

DNedic commented

Good point actually, maybe it's better to introduce a CMake option to control whether the span API is tested or not.