note that this is NOT a general programmers learning forum, but a forum related on using CB.
But I will help you this once.
First : it is the compiler complaining about your code, since it is incorrect, and not the debugger.
Your mistake is that you need a ";" after the closing brace of your struct definition
struct Insect
{
Insect () : mLegs(6) {}
int mLegs;
};
Note also the other style enhancements I did;