◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Compiler warning (level 1) C4261 no override, 'class1::function1' has 'model' calling convention whereas 'class2::function2' has 'model' calling convention The specified functions had different calling conventions. The Microsoft calling convention specifiers are used for disambiguation between overloaded functions. The virtual mechanism will not be invoked for functions with differing calling conventions. The following example causes this warning: struct X { virtual void __near func(); }; struct Y : X { void __far func(); // warning }; -♦-