This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [patch] New std::string implementation
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: libstdc++ at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sat, 20 Dec 2014 00:34:29 +0000
- Subject: Re: [patch] New std::string implementation
- Authentication-results: sourceware.org; auth=none
- References: <20141114154330 dot GH5191 at redhat dot com> <20141128152448 dot GQ5191 at redhat dot com> <20141128165532 dot GR5191 at redhat dot com> <20141219182333 dot GE3134 at redhat dot com> <5494BA51 dot 4070004 at gmail dot com>
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!