Hi Grahame, Might the binary compatibility been broken between g++ 4.4.3 and 4.5.2?
In terms of a different g++ version causing problems directly in the OSG code base, I'd suspect a bug in the compiler before a bug in the OSG, as the OSG is used with a wide range of compilers without showing significant problems with crashing. However, I'd look at the binary compatibility side first, this would be the area that is most likely to cause problems. Robert. On Thu, Mar 31, 2011 at 10:04 AM, Grahame Bowland <[email protected]> wrote: > Hi all > > I'm shipping a version of OpenSceneGraph to users which has been > compiled with G++ 4.4.3. I've also compiled my app with this version of > G++. > > I'm now compiling the same OpenSceneGraph source code (2.8.2-rc4) with g > ++ 4.5.2. Running my g++ 4.4.3 compiled application against this library > crashes in a number of places, all within OpenSceneGraph. I've updated > libstdc++ to the 4.5.2 version. The problem definitely seems to be > within OSG, other C++ code runs fine. > > I realise this might be a whacky thing to do be doing. Does anyone have > pointers as to what might be going wrong - perhaps conditionals in > header files that evaluate differently with different versions of the > compiler? > > Thanks! > > Grahame > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

