This documentation is archived and is not being maintained.

Compiler Warning (level 1) C4261

Visual Studio .NET 2003

no override, 'class1::func1' has 'model1' calling convention whereas 'class2::func2' has 'model2' calling convention

The functions have different calling conventions.

Microsoft calling convention specifiers are used for disambiguation between overloaded functions.

The virtual mechanism will not be invoked for functions with differing calling conventions.