[Xcb] [Bug 18938] New: No extern "C" wrapper in headers generated by XSL

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 7 18:39:29 PST 2008


           Summary: No extern "C" wrapper in headers generated by XSL
           Product: XCB
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: Library
        AssignedTo: xcb at lists.freedesktop.org
        ReportedBy: wingedtachikoma at gmail.com

Created an attachment (id=20879)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=20879)

In the C headers generated by c-client.xsl, there is no #ifdef __cplusplus /
extern "C" wrapper. The wrapper is present in xcb/xcb.h and in headers
generated by c_client.py. This means that C++ code that includes the generated
headers needs to use extern "C" around the #include.

Patch attached.

Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Xcb mailing list