[PATCH] Fix gnu-versioned-namespace build
François Dumont
frs.dumont@gmail.com
Fri Oct 30 12:59:28 GMT 2020
The gnu-versioned-namespace build is broken.
The fix in charconv/floating_from_chars.cc is quite trivial. I am not so
sure about the fix in sstream-inst.cc.
libstdc++: Fix gnu-version-namespace buid
libstdc++-v3/ChangeLog
* include/std/charconv (from_chars): Define only if
_GLIBCXX_USE_CXX11_ABI.
* src/c++17/floating_from_chars.cc (from_chars): Likewise.
* src/c++20/sstream-inst.cc: Limit instantiations if
_GLIBCXX_USE_CXX11_ABI.
I build the lib with this patch. I am now running tests.
Ok to commit if tests are successful ?
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version-ns.patch
Type: text/x-patch
Size: 1632 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201030/0fef9c68/attachment.bin>
More information about the Gcc-patches
mailing list