Re: [Live-devel] Building with C++ version less than 20

2023-08-25 Thread Ross Finlayson
> On Aug 25, 2023, at 2:42 AM, Jörg Dommaschk via live-devel > wrote: > > > How do you define __cplusplus on your systems, though? Because as you can see > here: > https://en.cppreference.com/w/cpp/atomic/atomic_flag > this test method really only exists since C++20. Nonetheless, on the tw

Re: [Live-devel] Building with C++ version less than 20

2023-08-25 Thread Jörg Dommaschk via live-devel
--- Begin Message --- Hi, thanks for the quick reply. First, I need to correct the example code I gave earlier. The condition should look like this: #if !defined NO_STD_LIB && __cplusplus >= 202002L I should have tested it before sending, sorry about that. About your actual reply: How do you de