Compiler Error C3120

 

For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.

'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); }  

Show: