This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] libstdc++/29217
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 28 Sep 2006 15:57:04 +0200
- Subject: Re: [Patch] libstdc++/29217
- References: <45190CA3.5080709@suse.de>
> this issue is annoying: we have got an inconsistency between the
> numerical encodings of the collate and time categories and the
> corresponding names. Ideally, we would like to cleanly fix the former
> (see alternate patch (only the first and third hunks do the real job)),
> but we can't at this stage, because that means that old code linked vs
> the updated library regresses, gets the wrong category replaced when
> calling the various out of line locale constructors taking a category.
> I'm afraid we need the below workaround, for now.
Bummer. This will have to do.
> Compatibility issues also block a different elegant solution: change the
> order of the names instead (thus locale::name()) and make locale(const
> char*), input in general, smarter, able to deal with arbitrary orders: a
> locale::name() produced by the new library would be read incorrectly by
> an old binary elsewhere.
Can you put the alt patch on libstdcxx_so_7 branch please?
best,
benjamin