Controls the issuing of warning messages if an overriding function is not declared with a virtual keyword.
#pragma warn_no_explicit_virtual on | off | reset
The following listing shows an example.
#pragma warn_no_explicit_virtual on struct A { virtual void f(); }; struct B { void f(); // WARNING: override B::f() is declared without virtual keyword }
This pragma does not correspond to any panel setting. By default, this pragma is off.