;Ross Finlayson"
To: "LIVE555 Streaming Media, development & use"
Sent: Monday, August 28, 2023 11:05:36 AM
Subject: Re: [Live-devel] Building with C++ version less than 20
> On Aug 27, 2023, at 7:55 PM, Jörg Dommaschk via live-devel
> wrote:
>
> However, I am stil
> On Aug 27, 2023, at 7:55 PM, Jörg Dommaschk via live-devel
> wrote:
>
> However, I am still not sure you are checking the version in the right way.
> Because what you posted looks like you redefine the macro somewhere in your
> code.
No, the code doesn’t redefine “__cplusplus” anywhere.
ncrease my knowledge.
- Original Message -
From: "Ross Finlayson"
To: "LIVE555 Streaming Media, development & use"
Sent: Friday, August 25, 2023 9:23:26 PM
Subject: Re: [Live-devel] Building with C++ version less than 20
> On Aug 25, 2023, at 2:42 AM, Jörg Dom
> 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
August 25, 2023 1:56:55 PM
Subject: Re: [Live-devel] Building with C++ version less than 20
> On Aug 24, 2023, at 10:51 PM, Ross Finlayson wrote:
>
> I’m willing to update the code to do something like this; however the version
> number 202002L is the wrong threshold. For example, t
> On Aug 24, 2023, at 10:51 PM, Ross Finlayson wrote:
>
> I’m willing to update the code to do something like this; however the version
> number 202002L is the wrong threshold. For example, the code compiles OK
> with __cplusplus defined as 201402L
And the code also compiles OK for me on a
> On Aug 24, 2023, at 9:00 PM, Jörg Dommaschk via live-devel
> wrote:
>
> So something like
>
> #ifndef NO_STD_LIB && __cplusplus >= 202002L
> //code using std::atomic_flag
> #else
> //the old logic
> #endif
I’m willing to update the code to do something like this; however the versio
--- Begin Message ---
Hello,
I have recently built live555 from the latest version and was greeted with a
compilation error, namely:
BasicTaskScheduler.cpp:191:40: error: 'struct std::atomic_flag' has no member
named 'test'
This happens because that member test of std::atomic_flag has only