Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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) {}

Community Additions

ADD
Show:
© 2015 Microsoft