Hi Robert -- Looks like trunk fails to build when ref_ptr implicit casting is disabled. I'd submit a fix, but am running out the door. Here's the two errors I saw when I did an update and rebuild this morning:

In libosg:
5>..\..\..\src\osg\UserDataContainer.cpp(59) : error C2664: 'osg::StateAttributeCallback *osg::CopyOp::operator ()(const osg::StateAttributeCallback *) const' : cannot convert parameter 1 from 'const osg::ref_ptr<T>' to 'const osg::StateAttributeCallback *'
5>        with
5>        [
5>            T=osg::Object
5>        ]
5> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called

In libosgDB:
9>..\..\..\src\osgDB\Registry.cpp(1103) : error C2664: 'osgDB::Registry::ReadFunctor::cloneType' : cannot convert parameter 2 from 'osg::ref_ptr<T>' to 'const osgDB::Options *'
9>        with
9>        [
9>            T=osgDB::Options
9>        ]
9> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called


--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/

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

Reply via email to