Compiler Warning (level 1) C4087
'function' : declared with 'void' parameter list
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
// C4087.c
// compile with: /W1
int f1( void ) {
}
int main() {
f1( 10 ); // C4087
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for