Hi,

I believe it is due to virtual inheritence of Object as in CullCallback -> 
NodeCallback -> Object.

Cheers,

-Tony

[quote="Jeremy Moles"]On Mon, 2009-02-02 at 17:32 +0000, Robert Osfield wrote:
[quote]HI Jeremy,

On Mon, Feb 2, 2009 at 5:19 PM, Jeremy Moles <> wrote:

> The only MAJOR one I'm getting anymore is this:
> 
> In copy constructor
> 'osgViewer::InteractiveImageHandler::InteractiveImageHandler(const
> osgViewer::InteractiveImageHandler&, const osg::CopyOp&)':
> /home/cubicool/sources/svn-OpenSceneGraph/include/osgViewer/ViewerEventHandlers:396:
>  warning: base class 'class osg::Object' should be explicitly initialized in 
> the copy constructor
> /home/cubicool/sources/svn-OpenSceneGraph/include/osgViewer/ViewerEventHandlers:396:
>  warning: base class 'class osgGA::GUIEventHandler' should be explicitly 
> initialized in the copy constructor
> /home/cubicool/sources/svn-OpenSceneGraph/include/osgViewer/ViewerEventHandlers:396:
>  warning: base class 'struct osg::Drawable::CullCallback' should be 
> explicitly initialized in the copy constructor
> 
> 

The warning remains with the latest revision; osg::Object must also be
initialized for this warning to go away. Why this is the case, I do not
know.

------------------
Read this topic online here:
http://osgforum.tevs.eu/viewtopic.php?p=5734#5734





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to