[PATCH][_GLIBCXX_INLINE_VERSION] Fix std::random_device definition

François Dumont frs.dumont@gmail.com
Thu Apr 28 04:55:10 GMT 2022


Hi

     Still time for this fix for gcc 12 ?

     If so I'll make sure to run tests quickly, especially the abi.exp 
one to confirm that the cleanup in gnu-versioned-namespace.ver do not 
need to be replaced by the same in __8 namespace.

libstdc++: [_GLIBCXX_INLINE_VERSION] Fix std::random_device definition

Definition shall be put in _GLIBCXX_BEGIN_VERSION_NAMESPACE/
_GLIBCXX_END_VERSION_NAMESPACE like the declaration.

libstdc++-v3/ChangeLog

     * src/c++11/cow-string-inst.cc: Put random_device member definitions
     in versioned namespace.
     * src/c++11/random.cc: Likewise.
     * config/abi/pre/gnu-versioned-namespace.ver: Remove std::random_device
     symbols.

François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random_device_versioned.patch
Type: text/x-patch
Size: 1829 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20220428/7e77314f/attachment.bin>


More information about the Libstdc++ mailing list