When building libxcb-1.1 on Solaris2.6 with gcc (4.1.2), gmake halts
with errors because of undefined macros (_Xconst).
These macros are conditionally defined in the system headers (/usr/openwin/include/X11/Xfuncproto.h), but only conditionally
(#if defined(FUNCPROTO) || __STDC__ || ...).
I don't know why __STDC__ isnt on, which it normally is with
gcc, maybe not in this case because of some option used by
libxcb (maybe because of --pedantic ?), but if -DFUNCPROTO
is added in CFLAGS at configuration time, then it works.
I don't know what we should do about this bug. If it's still a problem, perhaps it's a bug in libXau or further down the stack?
Solaris 2.6 includes X11R6.0 system headers, which I wouldn't expect xcb
to be compatible with. Since it's long past end-of-support from Sun,
no bugs in them will be fixed.