RAD Studio
ContentsIndex
PreviousUpNext
W8022: 'function1' hides virtual function 'function2'

(Command-line option to suppress warning: -w-hid) 

A virtual function in a base class is usually overridden by a declaration in a derived class. 

In this case, a declaration with the same name but different argument types makes the virtual functions inaccessible to further derived classes.

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!