This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] libstdc++/29217


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]