[Xcb] Bug#788232: Bug#788232: /usr/include/xcb/xcb.h: xcb/xproto.h can't be included
Julien Cristau
jcristau at debian.org
Thu Jun 18 22:27:28 PDT 2015
Control: severity -1 minor
Control: tag -1 upstream fixed-upstream
On Tue, Jun 9, 2015 at 17:28:28 +0200, Lorenzo Beretta wrote:
> Package: libxcb1-dev
> Version: 1.10-3+b1
> Severity: important
> File: /usr/include/xcb/xcb.h
>
> Dear Maintainer,
>
> the headers in libxcb1-dev have a bug that appears to have been fixed
> upstream and makes the package basically unusable:
> $ cat>test.c <<EOF
> #include <xcb/xproto.h>
> int main() { return 0; }
> EOF
> $ gcc test.c
> In file included from /usr/include/xcb/xproto.h:15:0,
> from test.c:1:
> /usr/include/xcb/xcb.h:401:7: error: unknown type name ‘xcb_query_extension_reply_t’
> const xcb_query_extension_reply_t *xcb_get_extension_data(xcb_connection_t *c, xcb_extension_t *ext);
> ^
> /usr/include/xcb/xcb.h:437:7: error: unknown type name ‘xcb_setup_t’
> const xcb_setup_t *xcb_get_setup(xcb_connection_t *c);
> ^
>
>
> Probably same bug as 778307, except for people using the -dev package
> it's completely broken, not just a wishlist.
>
It's not "completely broken". Just include xcb.h first...
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20150619/fb805937/attachment.sig>
More information about the Xcb
mailing list