Author Topic: wxsmith - warning  (Read 4086 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
wxsmith - warning
« on: June 30, 2005, 09:13:43 am »
the following warning comes when compiling wxsmith from 30.6.2005 CVS

Code: [Select]
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: [Select]
wxsstringlistproperty.cpp:

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


it isnt critical but i think it should be corrected.

Offline heromyth

  • Multiple posting newcomer
  • *
  • Posts: 98
    • http://
wxsmith - warning
« Reply #1 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.