Compiler Error 147
"declaration is incompatible with "XXX" (declared at line Y of "ZZZ")"¶
Probably you declared the function earlier in a header file, but did not match up the input types.
Example:
/*foobar.h*/
void trigger(int foo);
/*foobar.cpp*/
void trigger(int foo, int bar){ //this function only has two inputs instead of the one previously specified.
/* Execute trigger function */
}
Last modified 03 Jul 2012, by .
0 comments


Please login to post comments.