Paolo Bonzini wrote:
> Well, then using __attribute__ ((visibility ("hidden"))) is more
> efficient, and right now almost all GCC users should have switched to
> 3.1 or later...

The better approach (IMO) is the third one mentioned in doc/visibility.texi,
namely to mark every exported function/variable, not every unexported one.
It assumes GCC 4.0 or newer, which is also widespread nowadays.

Bruno


Reply via email to