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

Attachment: signature.asc
Description: Digital signature

Reply via email to