On Sat, Oct 02, 2010 at 11:01:49AM -0700, Ian Romanick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Vinson Lee wrote:
> > Module: Mesa
> > Branch: master
> > Commit: 4cd4fd37aa1a68104c80526923f49cd0998779d9
> > URL:    
> > http://cgit.freedesktop.org/mesa/mesa/commit/?id=4cd4fd37aa1a68104c80526923f49cd0998779d9
> > 
> > Author: Vinson Lee <v...@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’:
> > radeon_optimize.c:419: warning: ISO C90 forbids mixed declarations and code
> > radeon_optimize.c:425: warning: ISO C90 forbids mixed declarations and code
> > radeon_optimize.c:432: warning: ISO C90 forbids mixed declarations and code
> 
> 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?

-Tom
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to