[patch] New std::string implementation

Jonathan Wakely jwakely@redhat.com
Sat Dec 20 00:34:00 GMT 2014


On 20/12/14 00:52 +0100, François Dumont wrote:
>Hello
>
>    Great news.
>
>    However we need the following to make debug/profile modes happy.

Ah, thanks for checking it.

>    Shouldn't we use _GLIBCXX_ABI_TAG_CXX11 to tag the __cxx11 namespace ?

No, that is defined to __attribute__((abi_tag("cxx11"))) but you don't
need a string for the tag on namespaces, just __attribute__((abi_tag))
works (and it uses the namespace name as the tag name).


>2014-12-20  François Dumont  <fdumont@gcc.gnu.org>
>
>    * include/bits/c++config: inline __cxx11 namespace within namespace
>    __cxx1998.
>
>Ok to commit ?

Yes, this fixes the default configuration, so OK for trunk.

I'll test it for the alternative configurations tomorrow.

Thanks!



More information about the Libstdc++ mailing list