Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'function' : declared with 'void' parameter list
Remarks
The function declaration has no formal parameters, but the function call has actual parameters. Extra parameters are passed according to the calling convention of the function.
This warning is for the C compiler.
Example
The following example generates C4087:
// C4087.c
// compile with: /W1
int f1( void ) {
}
int main() {
f1( 10 ); // C4087
}