Compiler Error C2191
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at 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.
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
Show: