Compiler Error C2628 (Windows CE 5.0)

Send Feedback

'type1' followed by 'type2' is illegal (did you forget a ';'?)

A section of code between the two types is incorrect.

The following list shows possible causes for this error.

  • Missing semicolon.

The following example shows ways this error might occur.

class C
{
public:
   void func( void ) {;}
}                         // semicolon is missing here
void main() {}            // error detected on this line

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.