Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: tiwag on June 30, 2005, 09:13:43 am

Title: wxsmith - warning
Post by: tiwag on June 30, 2005, 09:13:43 am
the following warning comes when compiling wxsmith from 30.6.2005 CVS

Code
mingw32-g++.exe   -Wall -g -ggdb -D__GNUWIN32__ -DWXUSINGDLL -DBUILDING_PLUGIN -g    -I..\..\..\sdk -ID:\wx242\lib\gcc_dll\msw -ID:\wx242\include -ID:\wx242\contrib\include  -c properties\wxsstringlistproperty.cpp -o .objs\properties\wxsstringlistproperty.o
properties\wxsstringlistproperty.cpp: In constructor `<unnamed>::ListEditor::ListEditor(wxWindow*, wxArrayString&, int*)':
properties\wxsstringlistproperty.cpp:64: warning: comparison between signed and unsigned integer expressions

Code
wxsstringlistproperty.cpp:

 64:    for ( int i=0; i<Array.Count(); i++ )


it isnt critical but i think it should be corrected.
Title: wxsmith - warning
Post by: heromyth on July 01, 2005, 04:17:54 am
I got two error message:

wxsdefwidget.cpp:303: error: invalid static_cast from type `void (wxsStopMouseEvents::*)(wxEvent&)' to type `void (wxEvtHandler::*)(wxMouseEvent&)'
wxsdefwidget.cpp:304: error: invalid static_cast from type `void (wxsStopMouseEvents::*)(wxEvent&)' to type `void (wxEvtHandler::*)(wxMouseEvent&)'


I have tried to comment them, but another error will be produced.