On Thu, 2006-08-03 at 14:35 +0100, Robert Osfield wrote: > For instance I've just changed the relevant StateSet.cpp code from: > > static TextureGLModeSet s_textureGLModeSet;
Was this right? According to CVS, version 1.60 of the file, this variable had external linkage and was not declared static. There is a big difference between an object with extern vs. internal linkage wrt initialization ordering. As Mike said the ordering of extern objects is undefined while the ordering of static (internal) objects is well-defined. PS: I notice that this object did not have an extern declaration in the header file. So Chris you want to look for non-static object definitions within the source files that are in the global namespace like this one was (they all have external linkage). Regards, Mark -- Mark Barnes COLLADA Project Lead, tel:+1.650.655.7342 Sony Computer Entertainment America http://research.scea.com _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
