Intel® C++ Compiler 16.0 User and Reference Guide
Tells the compiler to issue a warning when a class appears to be polymorphic, yet it declares a non-virtual one.
Linux and OS X: | -Wnon-virtual-dtor |
Windows: | None |
None
OFF |
The compiler does not issue a warning. |
Tells the compiler to issue a warning when a class appears to be polymorphic, yet it declares a non-virtual one. This option is supported in C++ only.
Visual Studio: None
Eclipse: None
Xcode: Diagnostics > Report Non-Virtual Destructor
None