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





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

Reply via email to