Compiler Error C2235

';' in formal parameter list

A semicolon (;) was found in a formal parameter list.

The error is usually caused by using a semicolon instead of a comma (,) to separate parameters in a formal parameter list.

The following is an example of this error:

void func( int i; float f );   // error, uses semicolon
void func( int i, float f );   // OK, uses comma