Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: r.stiltskin on January 16, 2010, 01:12:02 am

Title: wxwidgets extra ';'
Post by: r.stiltskin on January 16, 2010, 01:12:02 am
I notice that when I create a new wxWidgets project, C::B puts a ';' after
Code
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.:
Quote
wbanditApp.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 ';'?