This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: Elimitate duplication of get_catalogs in different abi


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
>


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