News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

wxwidgets extra ';'

Started by r.stiltskin, January 16, 2010, 01:12:02 AM

Previous topic - Next topic

r.stiltskin

I notice that when I create a new wxWidgets project, C::B puts a ';' after IMPLEMENT_APP(myWidgetsApp)

None of the wxWidgets sample C++ programs have a semicolon terminating that line.  It doesn't seem to cause a problem when building a project in C::B, but when I build my project in a console I get an error, e.g.:
QuotewbanditApp.cc:17: error: extra ';'
make: *** [obj/wbanditApp.o] Error 1
which goes away if I delete that ';'.

Do you guys know anything about this?  Why does the C::B wxWidgets sample have that extra ';'?