[Xcb] Status of XCB and howto begin

Vincent Torri Vincent.Torri at iecn.u-nancy.fr
Sat Feb 4 13:16:09 PST 2006



On Sat, 4 Feb 2006, Jamey Sharp wrote:

> On Sat, Feb 04, 2006 at 05:51:35PM +0100, Vincent Torri wrote:
> > On Sat, 4 Feb 2006, Barton C Massey wrote:
> > > With no offense intended for Josh, Jamey's way is the right
> > > way, as it is not GCC-dependent, I think?
> >
> > you have to add some __attribute__, so it's gcc dependant, I think
>
> I think adding the visibility #pragma to xcbint.h is better: it's a tiny
> patch, then, and doesn't require us to do anything special if we change
> the functions in xcbint.h later.

in the gcc page that talks about the visibility support, it's mentioned
that pragma should not be used.
Also, the modifications are just adding a defined variable in front of a
function. Not a big deal.

Vincent


More information about the Xcb mailing list