[PATCH] Fix gnu-versioned-namespace build

François Dumont frs.dumont@gmail.com
Wed Dec 11 07:29:00 GMT 2019


I plan to commit this tomorrow.

Note that rather than just adding the missing 
_GLIBCXX_[BEGIN,END]_VERSION_NAMESPACE I also move anonymous namespace 
usage outside std namespace. Let me know if it was intentional.

     * src/c++11/random.cc: Add _GLIBCXX_BEGIN_NAMESPACE_VERSION and
     _GLIBCXX_END_NAMESPACE_VERSION. Move anonymous namespace outside std
     namespace.

Tested under Linux x86_64 normal/debug/versioned namespace modes.

There are still tests failing in versioned namespace, more patches to come.

François

-------------- next part --------------
A non-text attachment was scrubbed...
Name: versioned_namespace_build.patch
Type: text/x-patch
Size: 1163 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191211/3aafd09f/attachment.bin>


More information about the Gcc-patches mailing list