SPAM: Re: Curious issue with char_traits
Paolo Carlini
pcarlini@suse.de
Wed Oct 26 12:22:00 GMT 2005
Peter Dimov wrote:
> I agree, but the g++ people apparently don't. This is a known issue
> dating back to 2002.
>
> http://gcc.gnu.org/ml/gcc-prs/2002-06/msg00532.html
In other terms, given the resolution of that PR, I think that the only
clean and consistent fix for the issue at hand is moving for gcc4.2
*all* the legacy HP/SGI bits into a separate namespace.
I dislike, in general, the idea of adding a new namespace, but we should
consider:
1- When we added __gnu_cxx we had no new extensions in directory /ext,
only the legacy stuff. We had no clear concept of the distinction
between non-standard legacy and non-standard new extensions.
2- Names in namespace __gnu_cxx cannot be changed, in general, some are
also exported from the library binary.
3- People that really, really, want to keep using this legacy and
non-standard stuff can probably pay the price of a
s/__gnu_cxx::slist/__gnu_legacy::slist/ and so on...
Paolo.
More information about the Libstdc++
mailing list