On Sat, Oct 02, 2010 at 01:55:37PM -0700, Ian Romanick wrote: > -----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 <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: > >>> > >>> 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.
make linux-x86 builds gallium drivers and r300g uses the r300 compiler which is in src/mesa/drivers/dri/r300/compiler. -Tom _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev