Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 566 Bytes

compiler-warning-level-4-c4212.md

File metadata and controls

22 lines (18 loc) · 566 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 4) C4212
Compiler Warning (level 4) C4212
11/04/2016
C4212
C4212
df781ea1-182d-4f9f-9a31-55b6ce80c711

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