description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Compiler Error C2563 | Compiler Error C2563 | 11/04/2016 |
|
| 54abba68-6458-4ca5-894d-3babdb7b3552 |
mismatch in formal parameter list
The formal parameter list of a function (or a pointer to a function) does not match those of another function (or pointer to a member function). As a result, the assignment of functions or pointers cannot be made.
The following sample generates C2563:
// C2563.cppvoidfunc( int ); voidfunc( int, int ); intmain() { void *fp(); fp = func; // C2563 }