[Mesa-dev] Mesa (master): r300/compiler: Move declaration before code.
tom fogal
tfogal at sci.utah.edu
Sat Oct 2 11:40:59 PDT 2010
Tom Stellard wrote:
> On Sat, Oct 02, 2010 at 11:01:49AM -0700, Ian Romanick wrote:
>> Vinson Lee wrote:
>>>
>>> Author: Vinson Lee <vlee at vmware.com>
>>> Date: Wed Sep 29 13:30:34 2010 -0700
>>>
>>> r300/compiler: Move declaration before code.
>>>
>>> Fixes these GCC warning on linux-x86 build.
>>> radeon_optimize.c: In function constant_folding:
>>
>> Why? I thought we agreed a couple years ago that core Mesa had to
>> adhere to C89 rules while DRI driver code could use C99 extensions.
>>
>> The bigger question is: Why this code being built in a non-DRI build?
>
> What configure options are needed to do a non-DRI build?
It's --with-driver. Both xlib and osmesa don't use DRI (IIRC).
-tom
More information about the mesa-dev
mailing list