<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 --- - `explicit` is a C++11 keyword, add to _cplusplus_annoyances (with patch)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=74080">74080</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>xcb@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>`explicit` is a C++11 keyword, add to _cplusplus_annoyances (with patch)
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xcb@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>j.keil@gmx.de
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Library
</td>
</tr>
<tr>
<th>Product</th>
<td>XCB
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=92810" name="attach_92810" title="Patch for c_client.py to fix cpp keywords & lookup error">attachment 92810</a> <a href="attachment.cgi?id=92810&action=edit" title="Patch for c_client.py to fix cpp keywords & lookup error">[details]</a></span>
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>