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

--- Comment #1 from Alan Coopersmith <alan.coopersm...@oracle.com> ---
The Studio C++ compiler does not support C99 compound literals - when I raised
this to the Studio C++ team they said:

> 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...

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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to