lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] wxmsw-2.9.0 (svn trunk) anomaly


From: Greg Chicares
Subject: Re: [lmi] wxmsw-2.9.0 (svn trunk) anomaly
Date: Wed, 11 Mar 2009 14:49:05 +0000
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

On 2009-03-11 13:59Z, Vadim Zeitlin wrote:
> On Tue, 10 Mar 2009 12:09:46 +0000 Greg Chicares <address@hidden> wrote:
> 
> GC> On 2009-03-10 08:50Z, Greg Chicares wrote:
> GC> [...]
> GC> > Updated for today's snapshot:
> GC> 
> GC> 'wxWidgets-2009-03-10.tar.bz2', that is. Filtering out libstdc++
> GC> warnings leaves only these three:
> GC> 
> GC> ../src/common/event.cpp:1397: warning: 'loop' might be used uninitialized 
> in this function

[elucidation (thanks) elided]

>  As a side note, I wouldn't bet much on the quality of optimizer in the
> version of g++ you use as GetActive() is a simple inline function
> consisting of a single return statement. If the compiler doesn't inline it
> properly (and the warning shouldn't occur if it did) it's rather worrisome.

Well, '-O3' might. But we use '-O2' because '-O3' costs a lot of
compile time, but has precious little effect on run time (and IIRC
can even hurt it, for reasons that I don't at the moment recall).

As long as the headers are clean, two or three warnings on a project
the size of wx (with a rather old compiler) don't matter.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]