This is the mail archive of the gcc-help@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: Functions with the same name being called in different libraries (not exported): Wrong one gets called in main program


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


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