[Mesa-dev] Mesa (master): r300/compiler: Move declaration before code.

Ian Romanick idr at freedesktop.org
Sat Oct 2 13:55:37 PDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tom fogal wrote:
> 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).

Right.  So the linux-x86 config shouldn't even build anything under
src/mesa/drivers/dri.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkynnEgACgkQX1gOwKyEAw/QagCaAhUYJFJFstSnpEGJB4CfqU9f
Lo8An2Zcdn4U25f7kVYtjW+7oD1ptJMg
=udLT
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list