Re: Compile Error

Brian Paul <[email protected]>
Newsgroups gmane.comp.graphics.chromium.user
Message-ID <[email protected]>
Wesley Smith wrote:
> Ok, so another attempt to build chromiun 1.9-rc1 on Ubuntu Dapper with
> GCC 4.0.3.  When building state_program.c, I get an error in function
> 'cStateGetVertexAttribdvNV' state_program.c:988: warnning:
> 'floatParams[0]' may be uninitialized in this function.  I get the
> same error for each element in the array.  Will this be fixed in the
> next RC?

Yes, I've checked in a fix to CVS.


> BTW, I looked at the source code for this, and it's a ridiculous
> warning message.  Can whoever sets up the makefile please provide a
> simple way to turn off this warnings as errors flag?  It's really a
> nuisance sometimes.  Apologies if this is possible.  If it is, I'd
> like to know how.

It may be a nuisance, but I've learned to take compiler warnings 
seriously.  The problem is different compilers warn about different 
things.  The debug/optimization level can also produce different 
warnings (in the case of -O3 the dataflow analysis can detect 
uninitialized vars).

Anyway, I don't always see all the potential warnings here so some 
sneak out sometimes.

-Brian


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.