Hi John and Robert,

I don't recall seeing these errors previously, and the osg and osgDB
wrappers from today's SVN compiled cleanly for me under VS 2005.

There's got to be some difference between our two setups though...  As a
shot in the dark: John, are you running VS2005 Service Pack 1 by any
chance?

-Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Robert Osfield
> Sent: Saturday, March 03, 2007 4:21 AM
> To: osg users
> Subject: Re: [osg-users] SVN osgWrapper VS2005 warnings
> 
> Hi John
> 
> While the wrappers are auto-generated they are principally macros that
> have definitions in include/osgIntrospection/ReflectionMacros so
> perhaps tweaking these will cure the error.  I don't see these errors
> under Linux so can't help directly, perhaps others under windows can
> suggest a fix.
> 
> Robert.
> 
> 
> On 3/3/07, John Swan-Stone <[EMAIL PROTECTED]> wrote:
> >
> >
> > Ok,  I know that these 'wrapper' things are created by some kind of
code
> > generator program so I can't just fix the code.  The fix has to go
into
> the
> > code generator.
> >
> > I saw some messages recently that made me think this area was being
> worked
> > on.
> >
> > So here are the warning messages, hope this helps:
> >
> >
> >
> > 151>------ Build started: Project: osgWrapper osg, Configuration:
Debug
> > Win32 ------
> > 151>FragmentProgram.cpp
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglBindRenderbufferE
XT
> >(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglBindRenderbufferEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglBindRenderbufferEXT (__stdcall *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(75) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglBindRenderbufferEXT (__stdcall *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglGenRenderbuffersE
XT
> >(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglGenRenderbuffersEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglGenRenderbuffersEXT (__stdcall *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(76) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglGenRenderbuffersEXT (__stdcall *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglDeleteRenderbuffe
rs
> EXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglDeleteRenderbuffersEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglDeleteRenderbuffersEXT (__stdcall
> > *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(77) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglDeleteRenderbuffersEXT (__stdcall
> > *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglRenderbufferStora
ge
> EXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglRenderbufferStorageEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglRenderbufferStorageEXT (__stdcall
> > *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(78) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglRenderbufferStorageEXT (__stdcall
> > *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglCheckFramebufferS
ta
> tusEXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglCheckFramebufferStatusEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglCheckFramebufferStatusEXT
> > (__stdcall *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(82) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglCheckFramebufferStatusEXT
> > (__stdcall *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglFramebufferTextur
e1
> DEXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglFramebufferTexture1DEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferTexture1DEXT (__stdcall
> > *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(83) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferTexture1DEXT (__stdcall
> > *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglFramebufferTextur
e3
> DEXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglFramebufferTexture3DEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferTexture3DEXT (__stdcall
> > *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(85) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferTexture3DEXT (__stdcall
> > *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglFramebufferRender
bu
> fferEXT>(T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>
> > T=osg::FBOExtensions::TglFramebufferRenderbufferEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferRenderbufferEXT
> > (__stdcall *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(86) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>
> > P=osg::FBOExtensions::TglFramebufferRenderbufferEXT
> > (__stdcall *)
> > 151>        ]
> > 151>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(42)
> > : see reference to function template instantiation
> >
>
'osgIntrospection::Value::Value<osg::FBOExtensions::TglGenerateMipmapEXT
>(
> T
> > (__stdcall *))' being compiled
> > 151>        with
> > 151>        [
> > 151>            T=osg::FBOExtensions::TglGenerateMipmapEXT
> > 151>        ]
> > 151>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/PublicMemberAccessor(41)
> > : while compiling class template member function
> 'osgIntrospection::Value
> >
osgIntrospection::PublicMemberAccessor<C,P>::get(osgIntrospection::Value
> > &) const'
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>            P=osg::FBOExtensions::TglGenerateMipmapEXT
> > (__stdcall *)
> > 151>        ]
> > 151>
> > ..\..\..\src\osgWrappers\osg\FrameBufferObject.cpp(87) :
> > see reference to class template instantiation
> > 'osgIntrospection::PublicMemberAccessor<C,P>' being
> > compiled
> > 151>        with
> > 151>        [
> > 151>            C=osg::FBOExtensions,
> > 151>            P=osg::FBOExtensions::TglGenerateMipmapEXT
> > (__stdcall *)
> > 151>        ]
> >
> >
> >
> >
> >
> > 152>------ Build started: Project: osgWrapper osgDB, Configuration:
> Debug
> > Win32 ------
> > 152>Compiling...
> > 152>DotOsgWrapper.cpp
> > 152>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 152>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/TypedMethodInfo(84)
> > : see reference to function template instantiation
> > 'osgIntrospection::Value::Value<bool(osg::Object
> > &,osgDB::Input &)>(T (__cdecl *))' being compiled
> > 152>        with
> > 152>        [
> > 152>            T=bool (osg::Object &,osgDB::Input &)
> > 152>        ]
> > 152>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/TypedMethodInfo(77)
> > : while compiling class template member function
> 'osgIntrospection::Value
> > osgIntrospection::TypedMethodInfo0<C,R>::invoke(const
> > osgIntrospection::Value &,osgIntrospection::ValueList &) const'
> > 152>        with
> > 152>        [
> > 152>            C=osgDB::DotOsgWrapper,
> > 152>            R=osgDB::DotOsgWrapper::ReadFunc
> > 152>        ]
> > 152>
> > ..\..\..\src\osgWrappers\osgDB\DotOsgWrapper.cpp(56) : see
> > reference to class template instantiation
> > 'osgIntrospection::TypedMethodInfo0<C,R>' being compiled
> > 152>        with
> > 152>        [
> > 152>            C=osgDB::DotOsgWrapper,
> > 152>            R=osgDB::DotOsgWrapper::ReadFunc
> > 152>        ]
> > 152>c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/Value(357)
> > : warning C4180: qualifier applied to function type has no meaning;
> ignored
> > 152>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/TypedMethodInfo(84)
> > : see reference to function template instantiation
> > 'osgIntrospection::Value::Value<bool(const osg::Object
> > &,osgDB::Output &)>(T (__cdecl *))' being compiled
> > 152>        with
> > 152>        [
> > 152>            T=bool (const osg::Object &,osgDB::Output &)
> > 152>        ]
> > 152>
> > c:\Projects\OpenSceneGraph-
> SVN\OpenSceneGraph\include\osgIntrospection/TypedMethodInfo(77)
> > : while compiling class template member function
> 'osgIntrospection::Value
> > osgIntrospection::TypedMethodInfo0<C,R>::invoke(const
> > osgIntrospection::Value &,osgIntrospection::ValueList &) const'
> > 152>        with
> > 152>        [
> > 152>            C=osgDB::DotOsgWrapper,
> > 152>            R=osgDB::DotOsgWrapper::WriteFunc
> > 152>        ]
> > 152>
> > ..\..\..\src\osgWrappers\osgDB\DotOsgWrapper.cpp(61) : see
> > reference to class template instantiation
> > 'osgIntrospection::TypedMethodInfo0<C,R>' being compiled
> > 152>        with
> > 152>        [
> > 152>            C=osgDB::DotOsgWrapper,
> > 152>            R=osgDB::DotOsgWrapper::WriteFunc
> > 152>        ]
> >
> >
> > _______________________________________________
> > osg-users mailing list
> > osg-users@openscenegraph.net
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
> >
> _______________________________________________
> osg-users mailing list
> osg-users@openscenegraph.net
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to