[osg-users] OpenSceneGraph-3.4.0 release candidate 7 tagged

Pjotr Svetachov pjotrsvetachov at gmail.com
Fri Jul 24 01:02:37 PDT 2015


The changed for VS2015 look good. I still get the following warning:
3>I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): warning C4589: Constructor of abstract class 'osg::GraphicsOperation' ignores initializer for virtual base class 'osg::Referenced' (compiling source file I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)
3>  I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): note: virtual base classes are only initialized by the most-derived type (compiling source file I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)
3>  I:\Libraries\OpenSceneGraphTrunk\include\osg/GraphicsThread(45): note: This diagnostic occurred in the compiler generated function 'osg::GraphicsOperation::GraphicsOperation(const osg::GraphicsOperation &)' (compiling source file I:\Libraries\OpenSceneGraphTrunk\src\osg\TextureCubeMap.cpp)

But according Microsoft it's a vs2015 bug that will be fixed in the next update (https://connect.microsoft.com/VisualStudio/feedback/details/1570496/vs-2015-generates-a-copy-constructor-and-then-complains-about-it)

Btw VS2015 now also warns when a variable is shadowing another one, this amounts to over 600 warnings. In gcc or clang you can probably turn them on with -Wshadow. Some of them are in osg core, I'll look into those when I get back from vacation.

Cheers,
Pjotr

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64461#64461








More information about the osg-users mailing list