Hi All,

I can't quite fathom the following warning either...

164>..\..\include\osgIntrospection/Value(373) : warning C4180:
qualifier applied to function type has no meaning; ignored
164>        ..\..\include\osgIntrospection/TypedMethodInfo(84) : see
reference to function template instantiation
'osgIntrospection::Value::Value<bool(osg::Object &,osgDB::Input &)>(T
(__cdecl *))' being compiled
164>        with
164>        [
164>            T=bool (osg::Object &,osgDB::Input &)
164>        ]
164>        ..\..\include\osgIntrospection/TypedMethodInfo(77) : while
compiling class template member function 'osgIntrospection::Value
osgIntrospection::TypedMethodInfo0<C,R>::invoke(const
osgIntrospection::Value &,osgIntrospection::ValueList &) const'
164>        with
164>        [
164>            C=osgDB::DotOsgWrapper,
164>            R=osgDB::DotOsgWrapper::ReadFunc
164>        ]
164>        .\osgDB\DotOsgWrapper.cpp(58) : see reference to class
template instantiation 'osgIntrospection::TypedMethodInfo0<C,R>' being
compiled
164>        with
164>        [
164>            C=osgDB::DotOsgWrapper,
164>            R=osgDB::DotOsgWrapper::ReadFunc
164>        ]


    template<typename T> Value::Value(const T *v)
    {
        _inbox = new Ptr_instance_box<const T *>(v);   <<<<< This is
line 373, which generates the warning
        _type = _inbox->type();
        _ptype = _inbox->ptype();
    }


I have other stuff to chase up so I'll leave this is the hands of
those more community to see if they figure it out and suggest a way to
resolve the problem.

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to