'identifier' : unable to match function definition to an existing declaration
An unusual use of the unary + operator and was used in front of a function call that did not have parenthesis.
This error only occurs in C++ projects.
Solution
Reconcile the function signatures (return type, name, and argument list) in the definition and the declaration.
- or -
Add the missing declaration.
The following sample generates C2244:
int func(char) { return 0; } int func(int) { return 0; } void main() { +func; // C2244 // the following line resolves the error // +func(0); }