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