[Patch] libstdc++/29217
Benjamin Kosnik
bkoz@redhat.com
Thu Sep 28 13:57:00 GMT 2006
> 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
More information about the Libstdc++
mailing list