Compiler Error C3120
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Error C3120

Error Message

'method_name' : interface methods cannot take a variable argument list

An interface method cannot take a variable argument list. For example, the following interface definition generates C3120:

// C3120.cpp
__interface A {
int X(int i, ...);    // C3120

int main(void) { return(0); }
© 2016 Microsoft