Compiler Error C3120
'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); }
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for