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.
second parameter list longer than first
Remarks
A C function was declared a second time with a longer parameter list. C does not support overloaded functions. Without /Za, the compiler emits Compiler Warning (level 1) C4031 instead.
Example
The following example generates C2191:
// C2191.c
// compile with: /Za /c
void func1(int);
void func1(int, float); // C2191, longer parameter list
void func2(int, float); // OK