lmi
[Top][All Lists]
Advanced

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

[lmi] wx-2.9.0-RC2 testing [Was: wxmsw-2.9.0 (svn trunk) anomaly]


From: Greg Chicares
Subject: [lmi] wx-2.9.0-RC2 testing [Was: wxmsw-2.9.0 (svn trunk) anomaly]
Date: Wed, 06 May 2009 21:07:54 +0000
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

On 2009-03-14 17:42Z, Vadim Zeitlin wrote:
> On Thu, 12 Mar 2009 12:54:47 +0000 Greg Chicares <address@hidden> wrote:
[slightly reordered]
> GC> > GC> ../src/common/docview.cpp:1327: warning: 'docNew' might be used 
> uninitialized in this function
[...]
> GC> However, this warning still occurs with 'wxWidgets-2009-03-12.tar.bz2'.

And with 'wxWidgets-2.9.0-RC2.tar.bz2' too. However:

> GC> And I don't regard the 'docNew' warning as a problem that must be
> GC> fixed.
> 
>  Me neither so while I'd like to fix it I wouldn't spend more time on it as
> the warning doesn't appear with newer compilers.

BTW, I've upgraded from MinGW gcc-3.4.4 to 3.4.5 . Of course, 3.4.5 isn't
remarkably newer; I upgraded mainly to get the latest runtime and binutils.

> GC> Now it's the only warning issued by MinGW gcc-3.4.4,

There's a new one with RC2:

cd ../src/stc && ./gen_iface.py
[...]
/opt/lmi/wx-scratch/wxWidgets-2.9.0-RC2/gcc-345-0dfab2b4c310b0ef57d1436ecbd1977a/bk-deps
 /MinGW_/bin/g++ -c -o monodll_PlatWX.o  -D__WXMSW__     -DWXBUILDING    
-I../src/png -I../src/zlib
-I../src/expat/lib -DwxUSE_BASE=1 -DWXMAKINGDLL -I../src/stc/scintilla/include 
-I../src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DLINK_LEXERS  -Wall -Wundef 
-Wunused-parameter -Wno-ctor-dtor-privacy
-Woverloaded-virtual -D_LARGEFILE_SOURCE=unknown 
-I/opt/lmi/wx-scratch/wxWidgets-2.9.0-RC2/gcc-345-0dfab2b4c310b0ef57d1436ecbd1977a/lib/wx/include/i686-pc-mingw32-msw-unicode-release-2.9
 -I../include
-O2 -fno-strict-aliasing  ../src/stc/PlatWX.cpp
../src/stc/PlatWX.cpp:143: warning: unused parameter 'extraFontFlag'

> excluding of
> GC> course a couple hundred lines like this:
> GC>   stl_uninitialized.h:82: warning: '__cur' might be used uninitialized in 
> this function
> GC> that I don't believe we can do anything about.
> 
>  Wouldn't using -isystem for this directory help?

I have read the '-isystem' documentation. Let me ask which directory
you would suggest using it for: the wx source directory? If you mean
gcc's 'include/c++/3.4.5/bits/' directory, then...well, shouldn't
gcc already consider that a "system" directory?

BTW, here's a patch for building this release candidate with lmi's
makefiles:

Index: install_wx.make
===================================================================
RCS file: /sources/lmi/lmi/install_wx.make,v
retrieving revision 1.19
diff -U 3 -r1.19 install_wx.make
--- install_wx.make     30 Apr 2009 15:38:15 -0000      1.19
+++ install_wx.make     6 May 2009 21:05:11 -0000
@@ -25,7 +25,7 @@

 # Configurable settings 
########################################################

-wx_version    := 2.8.10
+wx_version    := 2.9.0-RC2

 mingw_dir     := /MinGW_

@@ -41,10 +41,11 @@
 wx-2.8.7-md5  := e3455083afdf6404a569a8bf0701cf13
 wx-2.8.9-md5  := b0b2d0f6915a21ca6f33896ee8f50387
 wx-2.8.10-md5 := 0461c2085ac1ad7e648aa84c4ba51dd1
+wx-2.9.0-RC2-md5 := 0dfab2b4c310b0ef57d1436ecbd1977a

 wx_archive        := wxWidgets-$(wx_version).tar.bz2

-$(wx_archive)-url := ftp://ftp.wxwidgets.org/pub/$(wx_version)/$(wx_archive)
+$(wx_archive)-url := 
ftp://ftp.wxwidgets.org/pub/$(wx_version:RC2=rc2)/$(wx_archive)

 $(wx_archive)-md5 := $(wx-$(wx_version)-md5)





reply via email to

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