mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 23:00:52 +08:00
PR libstdc++/90361 add missing macro definition
The src/c++17/string-inst.cc file needs to override the default string ABI so that it still contains the expected symbols even when the library is configured with --with-default-libstdcxx-abi=gcc4-compatible. PR libstdc++/90361 * src/c++17/string-inst.cc: Use _GLIBCXX_USE_CXX11_ABI=1 by default. From-SVN: r274314
This commit is contained in:
parent
e6b2dc248d
commit
0124d2c5bb
@ -1,5 +1,8 @@
|
||||
2019-08-12 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/90361
|
||||
* src/c++17/string-inst.cc: Use _GLIBCXX_USE_CXX11_ABI=1 by default.
|
||||
|
||||
* include/std/tuple (__unpack_std_tuple): New variable template and
|
||||
partial specializations.
|
||||
(apply, make_from_tuple): Add noexcept-specifier.
|
||||
|
@ -26,6 +26,12 @@
|
||||
// ISO C++ 14882:2017 24 Strings library
|
||||
//
|
||||
|
||||
#ifndef _GLIBCXX_USE_CXX11_ABI
|
||||
// Instantiations in this file use the new SSO std::string ABI unless included
|
||||
// by another file which defines _GLIBCXX_USE_CXX11_ABI=0.
|
||||
# define _GLIBCXX_USE_CXX11_ABI 1
|
||||
#endif
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace std _GLIBCXX_VISIBILITY(default)
|
||||
|
Loading…
x
Reference in New Issue
Block a user