HI Pjotr, On 10 June 2014 09:01, Pjotr Svetachov <[email protected]> wrote: > It only fixed the warnings for set/getUserdata. > The warning for the run method still exist. It might be that Microsoft chose > to always output this warning.
I have just looked at the two example warnings related to inheritance of the run() method and see that the Drawable::CullCallback doesn't have a run method implementation, instead defers the the base class implementation, which NodeCallback and EventCallback both implement the run method. I wonder if it's this that is making the VS compiler shout. The Drawable::CullCallback actually takes three parameters and has a return type so doesn't fit the mould of the standard Callback subclasses, this is due to the role of this Callback. I have added a using Callback::run() entry into Drawable::CullCallback. Could you do an svn update and let me know if the warning still appears. Thanks, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

