On Thu, Mar 13, 2008 at 04:33:46PM -0400, Simon Ruggier wrote:
> The following two documents are very relevant - I recommend reading at
> least the first if you're short on time, the second is a longer read:
> http://gcc.gnu.org/wiki/Visibility
> http://people.redhat.com/drepper/dsohowto.pdf
Thanks very much for these links.
I've read the first one, but it hasn't answered all my questions... I
suspect that I'll have to do some experimenting to find out how it
Really Works (TM).
Here's one main one... Let's say I compile Barry with:
class __attribute__ ((visibility("default")) Controller { ... };
Then an application links against Barry, by including a header that says:
class Controller { ... };
I'm assuming this is fine, since the visibility spec only matters when building
the library itself, and not the applications.
Does this match your understanding of it?
Thanks,
- Chris
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Barry-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/barry-devel