Export (0) Print
Expand All
Expand Minimize

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

Community Additions

© 2014 Microsoft