<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - "nir/nir.h", line 552: Error: Unexpected type name "nir_src" encountered."
href="https://bugs.freedesktop.org/show_bug.cgi?id=93188#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - "nir/nir.h", line 552: Error: Unexpected type name "nir_src" encountered."
href="https://bugs.freedesktop.org/show_bug.cgi?id=93188">bug 93188</a>
from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
<pre>I had a patch at one point to help C++ out here. I ended up not sending it out
because it only fixed warnings that only came up if you had extra warnings
turned on. basically it boiled down to
#ifdef __cplusplus
# define NIR_SRC_INIT nir_src()
#else
# define NIR_SRC_INIT (nir_src) { { NULL } }
#endif
And the same thing for NIR_DEST_INIT. Can you try that?</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>