[Mesa-dev] [PATCH] clover: Avoid using typename to allow compilation of clover by clang

Emil Velikov emil.l.velikov at gmail.com
Thu Sep 10 06:55:06 PDT 2015


Hi Albert,

On 8 September 2015 at 14:06, Albert Freeman <albertwdfreeman at gmail.com> wrote:
> When parsing an variable declaration qualified with the typename
> keyword, clang attempted to declare a variable with the type of non
> type member "enum type type" of module::argument (within the header
> file clover/core/module.hpp) instead of the typed member of
> module::argument "enum type".
>
> Replaced "typename" with "enum" to force clang to declare the variable
> marg_type with type "enum type" of module::argument.
>
Committed to master. Should also end up in 11.0 before the final release.

Thanks
Emil


More information about the mesa-dev mailing list