<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "nir/nir.h", line 552: Error: Unexpected type name "nir_src" encountered."
href="https://bugs.freedesktop.org/show_bug.cgi?id=93188#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "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:alan.coopersmith@oracle.com" title="Alan Coopersmith <alan.coopersmith@oracle.com>"> <span class="fn">Alan Coopersmith</span></a>
</span></b>
<pre>The Studio C++ compiler does not support C99 compound literals - when I raised
this to the Studio C++ team they said:
<span class="quote">> This:
> (nir_src) { init }
>
> is a C99 feature called "compound literals", which is not part of any C++
> standard. G++ supports it as an extension, Studio C++ does not support it.
>
> C++ code using this feature is non-portable...</span >
I filed Oracle bug 21371509 to request support as an enhancement, but if
you want to build Mesa with Studio now, you'll need to rewrite that code
to use a portable construct instead.</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>