El Martes, 5 de marzo de 2013 18:53:37 Satz Klauer escribió:
> __attribute__ ((visibility ("default")))

And why not __attribute__ ((visibility ("hidden"))) for symbols you don't want
to be exported and __attribute__ ((visibility ("default"))) for the ones you
want to be exported?

You can also define macros to have code more readable, like they suggest in:
http://gcc.gnu.org/wiki/Visibility in the part "How to use the new C++
visibility support"

That's what I suggested in first comment, but I was on mobile connection and
could not look for you more info :)

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to