[Mesa-dev] [PATCH] anv/device: Remove a use of a compound literal

Matt Turner mattst88 at gmail.com
Fri Mar 17 15:45:15 UTC 2017


On Thu, Mar 16, 2017 at 2:09 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Older versions of GCC don't like compound literals in static const
> variable declarations because they don't think it's an actual constant
> value.

Probably because the type it was cast to was explicitly non-const.


More information about the mesa-dev mailing list