Another compile error for wxWidgets SVN
Vadim Zeitlin
vadim at wxwidgets.org
Tue Mar 25 16:53:35 PDT 2008
On Tue, 25 Mar 2008 15:07:27 -0400 Sebastien Senechal <seb at cyberdine.ca> wrote:
SS> =====>
SS>
SS> ../src/regex/rege_dfa.c: In function ‘getvacant’:
SS> ../src/regex/rege_dfa.c:570: warning: ‘lastap.ss’ may be used uninitialized in
SS> this function
SS> ../src/regex/rege_dfa.c:570: warning: ‘lastap.co’ may be used uninitialized in
SS> this function
SS> ../src/regex/regexec.c: In function ‘wx_re_exec’:
SS> ../src/regex/regexec.c:352: warning: ‘cold’ may be used uninitialized in this
SS> function
SS> ../src/regex/regexec.c:352: note: ‘cold’ was declared here
SS>
SS> =======
SS>
SS> ../src/stc/scintilla/src/LexNsis.cxx: In function ‘int
SS> calculateFoldNsis(unsigned int, unsigned int, int, Accessor&, bool, bool)’:
SS> ../src/stc/scintilla/src/LexNsis.cxx:148: warning: deprecated conversion from
SS> string constant to ‘char*’
SS> ../src/stc/scintilla/src/LexNsis.cxx:148: warning: deprecated conversion from
SS> string constant to ‘char*’
SS>
SS> [ more of the same ... ]
SS>
SS> ../src/stc/scintilla/src/LexNsis.cxx: In function ‘int
SS> classifyWordNsis(unsigned int, unsigned int, WordList**, Accessor&)’:
SS> ../src/stc/scintilla/src/LexNsis.cxx:193: warning: deprecated conversion from
SS> string constant to ‘char*’
SS>
SS> [ more of the same ... ]
Those are in 3rd party code so we just leave them alone.
SS> ../src/gtk/dataview.cpp: In member function ‘bool
SS> wxDataViewCtrl::Create(wxWindow*, wxWindowID, const wxPoint&, const wxSize&,
SS> long int, const wxValidator&)’:
SS> ../src/gtk/dataview.cpp:3606: warning: deprecated conversion from string
SS> constant to ‘gchar*’
SS> ../src/gtk/dataview.cpp: In member function ‘virtual void
SS> wxDataViewRenderer::SetMode(wxDataViewCellMode)’:
SS> ../src/gtk/dataview.cpp:1418: warning: ‘gtkMode’ may be used uninitialized in
SS> this function
SS> ../src/gtk/dataview.cpp: In member function ‘virtual wxDataViewCellMode
SS> wxDataViewRenderer::GetMode() const’:
SS> ../src/gtk/dataview.cpp:1442: warning: ‘ret’ may be used uninitialized in this
SS> function
I should have fixed those, thanks!
VZ
--
TT-Solutions: wxWidgets consultancy
More information about the wx-users
mailing list