[Xcb] Status of XCB and howto begin

Alan Coopersmith Alan.Coopersmith at Sun.COM
Tue Feb 7 07:30:35 PST 2006

Bernardo Innocenti wrote:
> Mesa already implements visibility portably for several
> compilers.  Maybe you could just copy the idea from there.

Or just use the visibility defines already included in <X11/Xfuncproto.h>
in Xorg 6.9 and later.

> A few years ago, I used the very same approach for Windows DLLs
> and it works fine with MSVC.  I've also posted a patch to hide
> private functions for libX11, which is not yet in CVS.  You can
> find it here:
>  https://bugs.freedesktop.org/show_bug.cgi?id=2607

It probably never will be applied to Xorg CVS in it's current form,
since it adds a second set of visibility defines, and only works with
the now-frozen monolithic/imake tree, not the current modular/autotools
tree.   libX11 is also a very risky place to take away defined symbols,
since there are so many existing applications and so much hackery that
has occured in the past.

	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering

More information about the Xcb mailing list