Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 580 Bytes

compiler-error-c2197.md

File metadata and controls

25 lines (21 loc) · 580 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Error C2197
Compiler Error C2197
11/04/2016
C2197
C2197
6dd5a6ec-bc80-41b9-a4ac-46f80eaca42d

Compiler Error C2197

'function' : too many arguments for call

The compiler detected too many parameters for a call to the function, or an incorrect function declaration.

The following sample generates C2197:

// C2197.c
// compile with: /Za /c
void func( int );
int main() {
   func( 1, 2 );   // C2197 two actual parameters
   func( 2 );   // OK
}