diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-02-11 16:18:19 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-02-11 17:28:16 +0000 |
commit | bc0f7db7ebb649fc4c290cb7327fba5c17d4ed28 (patch) | |
tree | 52fd0cf6cb9d596450f194311464a54f461107e6 /gcc | |
parent | ce43c906049b828c0472d8499b52ac6233c869d0 (diff) | |
download | gcc-bc0f7db7ebb649fc4c290cb7327fba5c17d4ed28.zip gcc-bc0f7db7ebb649fc4c290cb7327fba5c17d4ed28.tar.gz gcc-bc0f7db7ebb649fc4c290cb7327fba5c17d4ed28.tar.bz2 |
libstdc++: Fix versioned namespace build
The recent changes to define various std::exception_ptr functions inline
included a change so that the definitions of those functions would be
omitted for the ABI unstable gnu-versioned-namespace configuration. That
change was incorrect, because the existing functions that are gated by
the _GLIBCXX_EH_PTR_COMPAT macro are always needed even for the
versioned namespace.
This change introduces a new macro to control whether operator== is
defined as deleted or not, distinct from the existing macro. The new
macro is not defined for versioned namespace builds, but the old macro
still is.
libstdc++-v3/ChangeLog:
* libsupc++/eh_ptr.cc (_GLIBCXX_EH_PTR_RELOPS_COMPAT): Define
new macro.
* libsupc++/exception_ptr.h (_GLIBCXX_EH_PTR_USED): Check new
macro instead of _GLIBCXX_EH_PTR_COMPAT.
(operator==): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions