Compiler Error C2191
second parameter list longer than first
A C function was declared a second time with a longer parameter list. C does not support overloaded functions.
Example
The following sample generates C2191:
// C2191.c
// compile with: /Za /c
void func( int );
void func( int, float ); // C2191 different parameter list
void func2( int, float ); // OK
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