This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Functions with the same name being called in different libraries (not exported): Wrong one gets called in main program
- From: Philipp Schmidt <philschmidt at gmx dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 27 Aug 2012 11:26:59 +0200
- Subject: Re: Functions with the same name being called in different libraries (not exported): Wrong one gets called in main program
- References: <1581141.COnrA5I36f@sam> <alpine.DEB.2.02.1208241535560.3297@laptop-mg.saclay.inria.fr>
- Reply-to: Philipp Schmidt <philschmidt at gmx dot net>
Hi,
Am Freitag, 24. August 2012, 15:39:56 schrieb Marc Glisse:
> Depending on what exactly you can change, you may be interested in
> -fvisibility (or #pragma gcc visibility), or linker maps/scripts.
That was exactly what I needed. I just had to adapt the tutorial at
http://gcc.gnu.org/wiki/Visibility a little to my CMake config and now it does
exactly what it is supposed to ;).
Thanks a lot!
Regards
Philipp Schmidt