Edit

Share via


Compiler Warning (level 1 and level 4) C4052

function declarations different; one contains variable arguments

One declaration of the function doesn't contain variable arguments. The empty declaration is ignored.

The following sample generates C4052:

// C4052.c
// compile with: /W4 /c
int f();
int f(int i, ...);   // C4052