Compiler Warning (level 4) C4212
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 Warning (level 4) C4212.
nonstandard extension used : function declaration used ellipsis
The function prototype has a variable number of arguments. The function definition does not.
The following sample generates C4212:
// C4212.c
// compile with: /W4 /Ze /c
void f(int , ...);
void f(int i, int j) {}
Show: