bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exported symbols of shared libraries


From: Bruno Haible
Subject: Re: exported symbols of shared libraries
Date: Mon, 2 Mar 2009 22:14:28 +0100
User-agent: KMail/1.9.9

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

[Prev in Thread] Current Thread [Next in Thread]