Compiler Error C2563

mismatch in formal parameter list

The formal parameter list of a function or pointer to a function did not match those of another function or pointer to a member function, respectively.

The assignment of the functions or pointers could not be made because of incompatible declarations.

The following is an example of this error:

void func( int );
void func( int, int );
main()
{
   void *fp();
   fp = func;                // error
   fp = func( int, int );    // OK
}