<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - 'xcb_generic_error_t' has no member named 'major_code' and no member named 'minor_code'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59264#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - 'xcb_generic_error_t' has no member named 'major_code' and no member named 'minor_code'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=59264">bug 59264</a>
from <span class="vcard"><a class="email" href="mailto:psychon@znc.in" title="Uli Schlachter <psychon@znc.in>"> <span class="fn">Uli Schlachter</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=59264#c0">comment #0</a>)
<span class="quote">> Xcb is version 1.9. The compiler option -Wimplicit-function-declaration is
> needed or this error will be reported:
>
> cairo-xcb-shm.c: In function '_cairo_xcb_connection_allocate_shm_info':
> cairo-xcb-shm.c:177: error: implicit declaration of function
> 'xcb_discard_reply'
> cairo-xcb-shm.c:177: warning: nested extern declaration of
> 'xcb_discard_reply'</span >
Are you really, really, really sure that this is xcb 1.9? And there is no older
version of xcb laying around somewhere? The function xcb_discard_reply() was
added in libxcb 1.6.
<span class="quote">> With the above configuration I ran into this error:
>
> cairo-boilerplate-xcb.c: In function '_cairo_boilerplate_xcb_handle_errors':
> cairo-boilerplate-xcb.c:59: error: 'xcb_generic_error_t' has no member
> named 'major_code'
> cairo-boilerplate-xcb.c:59: error: 'xcb_generic_error_t' has no member
> named 'minor_code'
> make[5]: *** [cairo-boilerplate-xcb.lo] Error 1
> make[4]: *** [../boilerplate/libcairoboilerplate.la] Error 2
>
> Is my Xcb version too up-to-date?</span >
Apparently not. These fields are even older and were added in libxcb 1.4
<span class="quote">> How can I make the "macros" CC etc. display the complete line of invocation?</span >
I am not sure. It was either "make VERBOSE=1" or "make V=1". You can also pass
--disable-silent-rules to ./configure.
How many versions of libxcb do you have laying around? With "locate xcb.pc" you
should at least be able to find all the xcb pkg-config files.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>