Bug 13561 - libxcb-1.1: on Solaris2.6, -DFUNCPROTO required to build
Summary: libxcb-1.1: on Solaris2.6, -DFUNCPROTO required to build
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: 1.0
Hardware: SPARC Solaris
: medium normal
Assignee: Alan Coopersmith
QA Contact: xcb mailing list dummy
Depends on:
Reported: 2007-12-07 08:59 UTC by acni
Modified: 2009-10-09 08:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description acni 2007-12-07 08:59:15 UTC
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.
Comment 1 Jamey Sharp 2009-10-09 08:43:18 UTC
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?
Comment 2 Alan Coopersmith 2009-10-09 08:55:58 UTC
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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.