Re: [PATCH] libstdc++: Restore std::scoped_lock for non-gthreads targets [PR120198]

2025-05-12 Thread Jonathan Wakely
On Mon, 12 May 2025 at 11:19, Tomasz Kaminski wrote: > > > > On Mon, May 12, 2025 at 12:04 PM Jonathan Wakely wrote: >> >> This was a regression introduced with using version.def to define >> feature test macros. > > Could you add link to commit here, I think this is r14-3248-g083b7f2833d71d. Do

Re: [PATCH] libstdc++: Restore std::scoped_lock for non-gthreads targets [PR120198]

2025-05-12 Thread Tomasz Kaminski
On Mon, May 12, 2025 at 12:04 PM Jonathan Wakely wrote: > This was a regression introduced with using version.def to define > feature test macros. Could you add link to commit here, I think this is r14-3248-g083b7f2833d71d. > std::scoped_lock can be defined unconditionally > (including for free

[PATCH] libstdc++: Restore std::scoped_lock for non-gthreads targets [PR120198]

2025-05-12 Thread Jonathan Wakely
This was a regression introduced with using version.def to define feature test macros. std::scoped_lock can be defined unconditionally (including for freestanding). libstdc++-v3/ChangeLog: PR libstdc++/120198 * include/bits/version.def (scoped_lock): Do not depend on gthre