Dear Alan!

I have not dreamed that the staff from Sun can help, I'm
very happy.

Alan Coopersmith wrote:
> And for the visibility attributes X.Org uses the ifdefs in:
> https://cgit.freedesktop.org/xorg/proto/xorgproto/tree/include/X11/Xfuncproto.h#n97
> (using the original annotations from the Sun compiler before the
>  attribute form became popularized, but you can see other attributes
>  in that file are handled correctly as well).

It's very helpful to understand the lowest version of SunPro C to
enable visibility feature, thanks! In this case, "__global" style
is used...

I guess, latest Oracle cc may accept both of __global and
__attribute__((visibility)) styles, and both of --xldscope and
-fvisibility= styles.

If so, there's any preference? If the style like GCC was
introduced in later (for the compatibility with GCC), using
GCC-unlike style would be more generic for SunPro C.

Regards,
mpsuzuki


_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to