Compiler Error C2145

syntax error : missing 'token' before identifier

The compiler expected the given token to appear before an identifier.

This error can be caused by a missing semicolon (;) after the last declaration in a block.