Hello,

I get the following 2 errors when trying to compile the latest svn on a Mac running 10.6 but using the 10.4 SDK. This compiles fine using the 10.6 SDK with gcc-4.2, but since the 10.4 SDK requires gcc-4.0, I assume its a compiler quirk. Any suggestions on how to get around it?

/util/src/osgsvn/src/osgWrappers/serializers/osg/LineStipple.cpp: In function 'void wrapper_propfunc_LineStipple(osgDB::ObjectWrapper*)': /util/src/osgsvn/src/osgWrappers/serializers/osg/LineStipple.cpp:11: error: no matching function for call to 'osgDB::PropByValSerializer<MyClass, int>::PropByValSerializer(const char [7], int, GLint (osg::LineStipple::*)()const, void (osg::LineStipple::*)(GLint))' /util/src/osgsvn/include/osgDB/Serializer:205: note: candidates are: osgDB::PropByValSerializer<C, P>::PropByValSerializer(const char*, P, P (C::*)()const, void (C::*)(P), bool) [with C = MyClass, P = int] /util/src/osgsvn/include/osgDB/Serializer:199: note: osgDB::PropByValSerializer<MyClass, int>::PropByValSerializer(const osgDB::PropByValSerializer<MyClass, int>&)

/util/src/osgsvn/src/osgWrappers/serializers/osg/Texture.cpp: In function 'void wrapper_propfunc_Texture(osgDB::ObjectWrapper*)': /util/src/osgsvn/src/osgWrappers/serializers/osg/Texture.cpp:89: error: no matching function for call to 'osgDB::PropByValSerializer<MyClass, int>::PropByValSerializer(const char [12], int, GLint (osg::Texture::*)()const, void (osg::Texture::*)(GLint))' /util/src/osgsvn/include/osgDB/Serializer:205: note: candidates are: osgDB::PropByValSerializer<C, P>::PropByValSerializer(const char*, P, P (C::*)()const, void (C::*)(P), bool) [with C = MyClass, P = int] /util/src/osgsvn/include/osgDB/Serializer:199: note: osgDB::PropByValSerializer<MyClass, int>::PropByValSerializer(const osgDB::PropByValSerializer<MyClass, int>&)


Thanks

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

Reply via email to