GCC 11.1 Release Candidate available from gcc.gnu.org
Jakub Jelinek
jakub@redhat.com
Thu Apr 22 12:30:40 GMT 2021
On Thu, Apr 22, 2021 at 01:27:40PM +0100, Jonathan Wakely wrote:
> I'm just finishing testing this on various targets and will push to
> trunk. I'd like to backport it to gcc-11 too, to fix PR100179.
Ok for 11.1.
> commit 50070d8602a07160cece5890899929e9f210244d
> Author: Jonathan Wakely <jwakely@redhat.com>
> Date: Thu Apr 22 11:10:06 2021
>
> libstdc++: Remove #error from <semaphore> implementation [PR 100179]
>
> This removes the #error from <bits/semaphore_base.h> for the case where
> neither __atomic_semaphore nor __platform_semaphore is defined.
>
> Also rename the _GLIBCXX_REQUIRE_POSIX_SEMAPHORE macro to
> _GLIBCXX_USE_POSIX_SEMAPHORE for consistency with the similar
> _GLIBCXX_USE_CXX11_ABI macro that can be used to request an alternative
> (ABI-changing) implementation.
>
> libstdc++-v3/ChangeLog:
>
> PR libstdc++/100179
> * include/bits/semaphore_base.h: Remove #error.
> * include/std/semaphore: Do not define anything unless one of
> the implementations is available.
Jakub
More information about the Libstdc++
mailing list