Hi All, For the 3.0 release I'd like to clean up warnings that have crept in over the past year, for this I'd the communities help, as I have limited OS versions available to test and only a finite amount of time available each day.
There aren't too many in the core libraries and plugins as these warnings are generally picked and fixed as we go along, there is one in Program.cpp I've left in as reminders of incomplete functionality, so this will need address via a feature addition or simply introduction of runtime warning of incomplete functionality. There are others that appear under other platforms and picked up on cdash.openscenegraph.org. Let me know your suggestions on which one might indicate actual code problems and how the warnings might be fixed, or suppressed if avoids compromising code quality and reliability by doing a hacky "fix" as workaround for inappropriate warnings. The cdash.openscenegrah.org builds reports altered me to many warnings in the fbx plugin under the Linux build, so I pulled down the fbx SDK and got the plugin compiling and reproduced the warnings - with this I've been able to fix half a dozen warnings that required an unambiguous fix, however, there are far more that the warning is telling us that is potentially something wrong in the code that really requires someone with knowledge of the fbx SDK and the fbx plugin to fix. I've attached the linux warnings that remain as an aid. Thanks in advance for your help, Robert.
[ 0%] Built target OpenThreads [ 45%] Built target osg [ 62%] Built target osgUtil [ 70%] Built target osgDB [ 70%] Built target osgText [ 79%] Built target osgGA [ 83%] Built target osgViewer [ 95%] Built target osgAnimation [ 95%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxRAnimation.o /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxRCamera.o /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxRLight.o /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRLight.cpp: In member function ‘osgDB::ReaderWriter::ReadResult OsgFbxReader::readFbxLight(fbxsdk_2011_3_1::KFbxNode*, int&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRLight.cpp:56: warning: enumeration value ‘eNONE’ not handled in switch /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxRMesh.o /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘int getVertexIndex(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, const fbxsdk_2011_3_1::KFbxMesh*, int, int, int) [with T = fbxsdk_2011_3_1::KFbxVector4]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:563: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eNONE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eBY_EDGE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eALL_SAME’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘bool layerElementValid(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*) [with T = fbxsdk_2011_3_1::KFbxVector4]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:708: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:59: warning: enumeration value ‘eINDEX’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘bool layerElementValid(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*) [with T = fbxsdk_2011_3_1::KFbxColor]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:709: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:59: warning: enumeration value ‘eINDEX’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘bool layerElementValid(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*) [with T = fbxsdk_2011_3_1::KFbxVector2]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:711: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:59: warning: enumeration value ‘eINDEX’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘int getPolygonIndex(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, int) [with T = fbxsdk_2011_3_1::KFbxSurfaceMaterial*]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:746: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:103: warning: enumeration value ‘eINDEX’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘int getVertexIndex(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, const fbxsdk_2011_3_1::KFbxMesh*, int, int, int) [with T = fbxsdk_2011_3_1::KFbxVector2]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:121: instantiated from ‘FbxT getElement(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, const fbxsdk_2011_3_1::KFbxMesh*, int, int, int) [with FbxT = fbxsdk_2011_3_1::KFbxVector2]’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:579: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eNONE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eBY_EDGE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eALL_SAME’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp: In function ‘int getVertexIndex(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, const fbxsdk_2011_3_1::KFbxMesh*, int, int, int) [with T = fbxsdk_2011_3_1::KFbxColor]’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:121: instantiated from ‘FbxT getElement(const fbxsdk_2011_3_1::KFbxLayerElementTemplate<T>*, const fbxsdk_2011_3_1::KFbxMesh*, int, int, int) [with FbxT = fbxsdk_2011_3_1::KFbxColor]’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:602: instantiated from here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eNONE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eBY_EDGE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRMesh.cpp:76: warning: enumeration value ‘eALL_SAME’ not handled in switch /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxRNode.o /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp: In function ‘void readTranslationElement(fbxsdk_2011_3_1::KFbxTypedProperty<fbxsdk_2011_3_1::fbxVectorTemplate3<double> >&, osgAnimation::UpdateMatrixTransform*, osg::Matrix&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:155: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:156: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:157: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp: In function ‘void readRotationElement(fbxsdk_2011_3_1::KFbxTypedProperty<fbxsdk_2011_3_1::fbxVectorTemplate3<double> >&, fbxsdk_2011_3_1::ERotationOrder, bool, osgAnimation::UpdateMatrixTransform*, osg::Matrix&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:202: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:203: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:204: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:233: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp: In function ‘void readScaleElement(fbxsdk_2011_3_1::KFbxTypedProperty<fbxsdk_2011_3_1::fbxVectorTemplate3<double> >&, osgAnimation::UpdateMatrixTransform*, osg::Matrix&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:267: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:268: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:269: warning: ‘fbxsdk_2011_3_1::KFCurve* fbxsdk_2011_3_1::KFbxProperty::GetKFCurve(const char*, bool)’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxplugins/kfbxproperty.h:677) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp: In member function ‘osgDB::ReaderWriter::ReadResult OsgFbxReader::readFbxNode(fbxsdk_2011_3_1::KFbxNode*, bool&, int&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eUNIDENTIFIED’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eNULL’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eMARKER’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eSKELETON’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eNURB’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘ePATCH’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eCAMERA_STEREO’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eCAMERA_SWITCHER’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eOPTICAL_REFERENCE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eOPTICAL_MARKER’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eNURBS_CURVE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eTRIM_NURBS_SURFACE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eBOUNDARY’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eNURBS_SURFACE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eSHAPE’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eLODGROUP’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eSUBDIV’ not handled in switch /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxRNode.cpp:477: warning: enumeration value ‘eCACHED_EFFECT’ not handled in switch /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/ReaderWriterFBX.o In file included from /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp:31: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h: In constructor ‘pluginfbx::WriterNodeVisitor::WriterNodeVisitor(fbxsdk_2011_3_1::KFbxScene*, fbxsdk_2011_3_1::KFbxSdkManager*, const std::string&, const osgDB::Options*, const std::string&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:247: warning: ‘pluginfbx::WriterNodeVisitor::_pScene’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:238: warning: ‘fbxsdk_2011_3_1::KFbxSdkManager* pluginfbx::WriterNodeVisitor::_pSdkManager’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:264: warning: ‘pluginfbx::WriterNodeVisitor::_lastMeshIndex’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:262: warning: ‘unsigned int pluginfbx::WriterNodeVisitor::_lastGeneratedImageFileName’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:262: warning: ‘pluginfbx::WriterNodeVisitor::_lastGeneratedImageFileName’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:250: warning: ‘fbxsdk_2011_3_1::KFbxNode* pluginfbx::WriterNodeVisitor::_curFbxNode’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:265: warning: ‘pluginfbx::WriterNodeVisitor::_options’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:241: warning: ‘bool pluginfbx::WriterNodeVisitor::_succeedLastApply’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp: In member function ‘virtual osgDB::ReaderWriter::ReadResult ReaderWriterFBX::readNode(const std::string&, const osgDB::Options*) const’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp:242: warning: ‘int fbxsdk_2011_3_1::KFbxImporter::GetTakeCount()’ is deprecated (declared at /usr/local/include/fbxfilesdk/kfbxio/kfbximporter.h:286) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp:258: warning: ‘char* fbxsdk_2011_3_1::KFbxDocument::GetCurrentTakeName()’ is deprecated (declared at /usr/local/include/fbxfilesdk/fbxcore/fbxcollection/kfbxdocument.h:312) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp:258: warning: ‘bool fbxsdk_2011_3_1::KFbxDocument::SetCurrentTake(const char*)’ is deprecated (declared at /usr/local/include/fbxfilesdk/fbxcore/fbxcollection/kfbxdocument.h:303) /home/robert/OpenSceneGraph/src/osgPlugins/fbx/ReaderWriterFBX.cpp:315: warning: comparison between signed and unsigned integer expressions /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/WriterCompareTriangle.o [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/WriterNodeVisitor.o In file included from /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:23: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h: In constructor ‘pluginfbx::WriterNodeVisitor::WriterNodeVisitor(fbxsdk_2011_3_1::KFbxScene*, fbxsdk_2011_3_1::KFbxSdkManager*, const std::string&, const osgDB::Options*, const std::string&)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:247: warning: ‘pluginfbx::WriterNodeVisitor::_pScene’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:238: warning: ‘fbxsdk_2011_3_1::KFbxSdkManager* pluginfbx::WriterNodeVisitor::_pSdkManager’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:264: warning: ‘pluginfbx::WriterNodeVisitor::_lastMeshIndex’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:262: warning: ‘unsigned int pluginfbx::WriterNodeVisitor::_lastGeneratedImageFileName’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:262: warning: ‘pluginfbx::WriterNodeVisitor::_lastGeneratedImageFileName’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:250: warning: ‘fbxsdk_2011_3_1::KFbxNode* pluginfbx::WriterNodeVisitor::_curFbxNode’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:265: warning: ‘pluginfbx::WriterNodeVisitor::_options’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:241: warning: ‘bool pluginfbx::WriterNodeVisitor::_succeedLastApply’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:71: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp: In constructor ‘pluginfbx::PrimitiveIndexWriter::PrimitiveIndexWriter(const osg::Geometry*, ListTriangle&, unsigned int, unsigned int)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:218: warning: ‘pluginfbx::PrimitiveIndexWriter::_lastFaceIndex’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:213: warning: ‘ListTriangle& pluginfbx::PrimitiveIndexWriter::_listTriangles’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:36: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:213: warning: ‘pluginfbx::PrimitiveIndexWriter::_listTriangles’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:212: warning: ‘unsigned int pluginfbx::PrimitiveIndexWriter::_drawable_n’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:36: warning: when initialized here /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h: In constructor ‘pluginfbx::WriterNodeVisitor::Material::Material(pluginfbx::WriterNodeVisitor&, const std::string&, const osg::StateSet*, const osg::Material*, const osg::Texture*, fbxsdk_2011_3_1::KFbxSdkManager*, const std::string&, std::map<const osg::Image*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<const osg::Image*>, std::allocator<std::pair<const osg::Image* const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >&, std::set<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, unsigned int&, const osgDB::Options*, int)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:183: warning: ‘pluginfbx::WriterNodeVisitor::Material::_index’ will be initialized after /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.h:181: warning: ‘fbxsdk_2011_3_1::KFbxSurfacePhong* pluginfbx::WriterNodeVisitor::Material::_fbxMaterial’ /home/robert/OpenSceneGraph/src/osgPlugins/fbx/WriterNodeVisitor.cpp:281: warning: when initialized here /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined [100%] Building CXX object src/osgPlugins/fbx/CMakeFiles/osgdb_fbx.dir/fbxMaterialToOsgStateSet.o /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp: In member function ‘StateSetContent FbxMaterialToOsgStateSet::convert(const fbxsdk_2011_3_1::KFbxSurfaceMaterial*)’: /home/robert/OpenSceneGraph/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp:87: warning: comparison between ‘enum fbxsdk_2011_3_1::KFbxTexture::EUnifiedMappingType’ and ‘enum fbxsdk_2011_3_1::KFbxTexture::EMappingType’ /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h: At global scope: /usr/local/include/fbxfilesdk/kfbxplugins/kfbxanimcurvenode.h:342: warning: ‘void fbxsdk_2011_3_1::CollectAnimFromCurveNode(fbxsdk_2011_3_1::KFCurve**, fbxsdk_2011_3_1::KFCurveNode*, unsigned int, fbxsdk_2011_3_1::KFbxAnimCurveNode*)’ declared ‘static’ but never defined Linking CXX shared module ../../../lib/osgPlugins-2.9.11/osgdb_fbx.so [100%] Built target osgdb_fbx
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

