[Live-devel] [PATCH v1] BasicUsageEnvironment: fix compilation on older toolchains
Ross Finlayson
finlayson at live555.com
Tue Jun 9 10:18:36 PDT 2026
No, if you don’t have “std::atomic_flag.test”, you can’t replace it with “test_and_set”; that would change the semantics of the code.
Instead, you need to compile the code with the
NO_STD_LIB
flag set. See
http://live555.com/liveMedia/faq.html#atomic_flag-compilation-error
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list