[Mesa-dev] uvd code break with C99 compile

Christian König deathsimple at vodafone.de
Fri Apr 26 01:06:44 PDT 2013


Am 26.04.2013 08:48, schrieb Jose Fonseca:
>
> ----- Original Message -----
>> Building on RHEL6 tinderbox, we get -std=c99, and the radeon uvd code
>> uses anonymous unions which this disables.
>>
>> It doesn't look too difficult to fix, just wondering if there was a
>> reason for using anon unions in the first place?
> FWIW, anonymous unions are a de-facto standard supported by all compilers (including MSVC).  And are part of C11.

That's just the interface specification as I got it from the UVD team.

Should be pretty easy to fix, and since I reworked the indention it 
doesn't looks like the original anyway.

Christian.

> Jose
>



More information about the mesa-dev mailing list