Closed ccotter closed 2 months ago
Note: I wasn't sure how to actually build the test/main.cpp
test file which includes memory_order.hpp
. It's not part of the default Makefile. When I tried to compile test/main.cpp
with GCC 11 (defaults -std=c++17), I got various errors about conflicting types for std/rl::memory_order
with the former coming from <atomic>
. I did verify the test code compiles by copy/pasting it into the ntest test which is built by the Makefile.
Hi Chris, Thanks for fixing these issues. I don't have much memory of how things work here. But the code changes look plausible, so I will trust you on this.
The new test code fails to compile without proper handling for cv qualified atomic pointer types.