'type1' followed by 'type2' is illegal (did you forget a ';'?)
A section of code between the two types is incorrect.
Possible cause
Example
class C { public: void func( void ) {;} } // semicolon is missing here void main() {} // error detected on this line