Functions with the same name being called in different libraries (not exported): Wrong one gets called in main program

Philipp Schmidt philschmidt@gmx.net
Mon Aug 27 11:06:00 GMT 2012


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



More information about the Gcc-help mailing list