[cairo] Cairo ported to OS/2 - Suggestions

Adam Jackson ajax at nwnk.net
Tue Aug 16 16:49:10 PDT 2005


On Tuesday 16 August 2005 19:11, Behdad Esfahbod wrote:
> I *think* it's new in gcc 4.0.  But considering that nothing
> catastrophic happens if those symbols get actually exported,
> there's not much harm in moving to this scheme completely.  The
> sintax is as simple as:
>
> #pragma GCC visibility push(hidden)
>
> http://gcc.gnu.org/wiki/Visibility

gcc gained the __attribute__((visibility)) syntax in 3.3, but only got the 
-fvisibility flag in 4.0 (and some distro-patched versions of 3.4, notably 
gentoo's).  The visibility pragma is still totally undocumented in the gcc 
manual, so I have no idea when it was introduced.

The gcc manual may not say when features were added, but at least they keep 
manuals for old versions online (unlike, say, autotools).

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050816/ef78870d/attachment.pgp


More information about the cairo mailing list