Another compile error for wxWidgets SVN

Sebastien Senechal seb at cyberdine.ca
Tue Mar 25 12:07:27 PDT 2008


On March 25, 2008 09:34:16 Vadim Zeitlin wrote:
> On Tue, 25 Mar 2008 02:59:09 -0400 Sebastien Senechal <seb at cyberdine.ca>
> wrote:
>
> SS> On March 24, 2008 23:47:28 Vadim Zeitlin wrote:
> SS> >  You arguably shouldn't because Unicode is the default in wx 3.0 and
> SS>
> SS> Thanks,  I wasn't aware. Will remove some builds... :)
>
>  Notice that personally I, of course, don't have anything you continuing to
> build in ANSI and doing the testing of this (rarely used) configuration for
> us ;-)

Hehe, will move to unicode. I initially disable-unicode from initial wxWidgets 
setup in dialogblocks. long time ago. I remember encountering more linking 
issues with unicode.

I also spotted a couple of warnings , which i don't remmeber having in non 
unicode. like possible unused value, deprecated conversions, etc..

i list these warnings for reference and eventual cleanup. Most are little tiny 
little things.


>  Fixed too, thanks,
thanks
regards




****  GCCBuildReleaseGTK2

../configure \
        --prefix=/usr \
        --disable-debug --enable-exceptions

configure: WARNING: Defaulting to the builtin regex library for Unicode build.
configure: WARNING: wxMetafile is not available on this system... disabled

make > /dev/null

=====>

../src/regex/rege_dfa.c: In function ‘getvacant’:
../src/regex/rege_dfa.c:570: warning: ‘lastap.ss’ may be used uninitialized in 
this function
../src/regex/rege_dfa.c:570: warning: ‘lastap.co’ may be used uninitialized in 
this function
../src/regex/regexec.c: In function ‘wx_re_exec’:
../src/regex/regexec.c:352: warning: ‘cold’ may be used uninitialized in this 
function
../src/regex/regexec.c:352: note: ‘cold’ was declared here

=======

../src/stc/scintilla/src/LexNsis.cxx: In function ‘int 
calculateFoldNsis(unsigned int, unsigned int, int, Accessor&, bool, bool)’:
../src/stc/scintilla/src/LexNsis.cxx:148: warning: deprecated conversion from 
string constant to ‘char*’
../src/stc/scintilla/src/LexNsis.cxx:148: warning: deprecated conversion from 
string constant to ‘char*’

[  more of the same ... ]

../src/stc/scintilla/src/LexNsis.cxx: In function ‘int 
classifyWordNsis(unsigned int, unsigned int, WordList**, Accessor&)’:
../src/stc/scintilla/src/LexNsis.cxx:193: warning: deprecated conversion from 
string constant to ‘char*’

[ more of the same ... ]


=======


../src/gtk/dataview.cpp: In member function ‘bool 
wxDataViewCtrl::Create(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, 
long int, const wxValidator&)’:
../src/gtk/dataview.cpp:3606: warning: deprecated conversion from string 
constant to ‘gchar*’
../src/gtk/dataview.cpp: In member function ‘virtual void 
wxDataViewRenderer::SetMode(wxDataViewCellMode)’:
../src/gtk/dataview.cpp:1418: warning: ‘gtkMode’ may be used uninitialized in 
this function
../src/gtk/dataview.cpp: In member function ‘virtual wxDataViewCellMode 
wxDataViewRenderer::GetMode() const’:
../src/gtk/dataview.cpp:1442: warning: ‘ret’ may be used uninitialized in this 
function




More information about the wx-users mailing list