From: Brian P. <bri...@tu...> - 2006-05-24 19:31:20
|
Eric Sandall wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > On Wed, 24 May 2006, Brian Paul wrote: >=20 >> Brian Paul wrote: >> >>> >>> A second release candidate of Chromium 1.9 is ready at >>> http://chromium.sf.net/beta >>> >>> This just accumulates a few more bugs fixes since the first RC. >> >> >> I haven't seen any feedback on this, positive or negative. >> >> It would be good to at least have a couple people confirm that they're= =20 >> tried >> it and it's OK. >> >> Thanks. >=20 >=20 > Trying to compile cr-1.9rc2 gives: > $ make > ... > Compiling state_program.c > cc1: warnings being treated as errors > state_program.c: In function =91crStateGetVertexAttribivNV=92: > state_program.c:1042: warning: =91floatParams[0]=92 is used > uninitialized in this function > state_program.c:1040: warning: =91floatParams[1]=92 may be used > uninitialized in this function > state_program.c:1040: warning: =91floatParams[2]=92 may be used > uninitialized in this function > state_program.c:1040: warning: =91floatParams[3]=92 may be used > uninitialized in this function > gmake[2]: *** [../built/crstate/Linux/state_program.o] Error 1 > gmake[1]: *** [dep] Error 2 > make: *** [state_tracker.subdir] Error 2 >=20 > This is with gcc 4.1.0-3 on Fedora Core 5. If I remove -Werror from > configs/Linux.mk CXXFLAGS and CFLAGS cr-1.9rc2 compiles (I have not > tried running it yet). OK, I actually fixed the same problem in a different function and=20 didn't realize there was a second instance of it. The patch is attached. -Brian |