Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Warning (level 4) C4212

Error Message

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) {}
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.