Compiler Error C2190
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Error C2190

Error Message

first parameter list longer than second

A C function was declared a second time with a shorter parameter list. C does not support overloaded functions.

The following sample generates C2190:

// C2190.c
// compile with: /Za /c
void func( int, float );
void func( int  );   // C2190, different parameter list
void func2( int  );   // OK
© 2016 Microsoft