Version 2024-10-24 expects std::atomic_flag::test(), which is a C++20 feature but can be omitted if NO_STD_LIB is defined. (passing -std=c++2a won't help because U20.04 libstdc++ doesn't contain that method).