[Mesa-dev] [Bug 93188] "nir/nir.h", line 552: Error: Unexpected type name "nir_src" encountered.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 4 14:35:41 PST 2015


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

--- Comment #6 from Jason Ekstrand <jason at jlekstrand.net> ---
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?

-- 
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/mesa-dev/attachments/20151204/9494230d/attachment.html>


More information about the mesa-dev mailing list