[Bug libstdc++/100179] [12 regression] xtreme-header-2_a.H fails on arm-eabi
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Apr 22 12:59:36 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100179
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:4b2db8077136d2f8b5a0db026e6161810be327b3
commit r12-59-g4b2db8077136d2f8b5a0db026e6161810be327b3
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Apr 22 11:10:06 2021 +0100
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.
More information about the Gcc-bugs
mailing list