Elimitate duplication of get_catalogs in different abi

François Dumont frs.dumont@gmail.com
Mon Jul 27 20:30:00 GMT 2015


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages_catalogs.patch
Type: text/x-patch
Size: 9146 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150727/32ee0e5c/attachment.bin>


More information about the Libstdc++ mailing list