libstdc++: Fix gnu-version-namespace buid
authorFrançois Dumont <fdumont@gcc.gnu.org>
Fri, 30 Oct 2020 12:11:49 +0000 (13:11 +0100)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Sat, 31 Oct 2020 17:10:10 +0000 (18:10 +0100)
commitde77abee118f1900fceb25c34b0cc1ef7261c9ce
treed44ff9355ab09c4bc031307912e49005e8709bcd
parent60d9f254876a00260992b2f37639ef4d82d9db8f
libstdc++: Fix gnu-version-namespace buid

Co-authored-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog

* src/c++17/floating_from_chars.cc (_GLIBCXX_USE_CX11_ABI): Add define.
(buffering_string): New.
[!_GLIBCXX_USE_CXX11_ABI](reserve_string): New.
(from_chars): Adapt.
* src/c++20/sstream-inst.cc: Limit instantiations to
_GLIBCXX_USE_CXX11_ABI.
libstdc++-v3/src/c++17/floating_from_chars.cc
libstdc++-v3/src/c++20/sstream-inst.cc