[Xcb] [Bug 74080] New: `explicit` is a C++11 keyword, add to _cplusplus_annoyances (with patch)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 26 04:23:18 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=74080

          Priority: medium
            Bug ID: 74080
          Assignee: xcb at lists.freedesktop.org
           Summary: `explicit` is a C++11 keyword, add to
                    _cplusplus_annoyances (with patch)
        QA Contact: xcb at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: j.keil at gmx.de
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Library
           Product: XCB

Created attachment 92810
  --> https://bugs.freedesktop.org/attachment.cgi?id=92810&action=edit
Patch for c_client.py to fix cpp keywords & lookup error

As said in the summary, `explicit` is a C++11 keyword, which makes (at least)
xkb.h fail when included in C++11 sources.
Attached is a fix for this ("explicit" => "_explicit" dictionary entry in
_cplusplus_annoyances).
However, it's unfortunately not done with updating the dict, some lookups for
`field.c_type_name` will now fail. Hence, the reverse cpp keyword lookup.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20140126/1a41948d/attachment.html>


More information about the Xcb mailing list