<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><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">59264</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>psychon@znc.in
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>'xcb_generic_error_t' has no member named 'major_code' and no member named 'minor_code'
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>cairo-bugs@cairographics.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Peter_Dyballa@Freenet.DE
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.12.8
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>xcb backend
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>cairo
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I trying to build FontForge as an application that could run on many Macs, so I
am trying to build quite a lot of static and shared libraries. Cairo 1.12.8 was
configured as:

    env LANG=C
PATH=${HOME}/Softwaren64/bin:/usr/bin:/opt/local/x86_64-apple-darwin10.8.0/bin:/opt/local/bin:$PATH
./configure --prefix=${HOME}/Softwaren64 --with-pic --enable-static
--x-includes=/usr/X11/include --x-libraries=/usr/X11/lib CPPFLAGS="-H
-I${HOME}/Softwaren64/include -DCAIRO_NO_MUTEX=1 " CFLAGS="-pipe -fPIC
-fno-common -Os -march=core2 -mtune=core2 -m64 -fomit-frame-pointer -msse4.2 
-Wimplicit-function-declaration" LDFLAGS="-m64 -Wl,-t -Wl,-dead_strip_dylibs
-L${HOME}/Softwaren64/lib"
PKG_CONFIG_PATH=${HOME}/Softwaren64/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/X11/lib/pkgconfig

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'

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?

The compiler used is GCC 4.2.1, OS is Mac OS X 10.6.8, Snow Leopard.

How can I make the "macros" CC etc. display the complete line of invocation?</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>