It seems that this patch results in unresolved symbols. I am quite sure that the code is right but build system should be adapted.
I noticed that *_cow.cc files are built with -fimplicit-templates. I try to apply the same with the old abi but I still experiment unresolved symbols. Any help is welcome. François On 27/07/2015 22:30, François Dumont wrote: > Hi > > This is the patch to get rid of the duplication of the get_catalogs > functions in the .so. > > I used c++locale_internal.h that seems to be there for this kind of > purpose. > > * config/locale/gnu/messages_members.cc (Catalog_info, Catalogs): > Move... > * config/locale/gnu/c++locale_internal.h: ...here in std namespace. > * config/locale/gnu/c_locale.cc: Move implementation of latter here. > > Tested under linux x86_64. > > Ok to commit ? > > François >