[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
warn_hidevirtual

Description:
Controls the recognition of a non-virtual member function that hides a virtual function in a superclass.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma warn_hidevirtual on|off|reset
Remarks:
If the pragma warn_hidevirtual is on, the compiler generates a warning if you declare a non-virtual member function that hides a virtual function in a superclass.
This pragma corresponds to the Hidden virtual functions option in the C/C++ Warnings settings panel. To check whether this option is on, use __option (warn_hidevirtual). See "Checking Options." By default, this option is off. For more information about this warning see "Finding Hidden Virtual Functions."
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000