[osg-users] OpenSceneGraph-3.4.0-rc6 tagged

Pjotr Svetachov pjotrsvetachov at gmail.com
Thu Jul 23 07:19:24 PDT 2015


I'll see what I can do. I'm going on vacation tomorrow so I don't have that much time. First I have resolved the errors so I can get OSG to compile with VS2015, those are more important. Attached are two files.
- First is osg/Types: VS2015 now have stdint.h included. This generates erros when including Types when stdin.h was previously included somewhere else. 
- Second is ViewerBase with a workaround for VS2015 which generates a standard assignment operator that in turn uses the private one from osg::Objectand this all makes the compiler generate and error.

To fix the other warnings I will first need to find all the classes that derive from osg::Operation and make sure they call osg::Referenced in their constructors. Then remove the call from the call to osg::Referenced from the constructors of osg::Operation. I have though about this and wondered why other compilers don't complain about this. It could be that they just ignore the call to Referenced::Reference(true) in the constructors of Operation without a warning and in the most derive class place a call to Referenced::Reference() instead of Referenced::Reference(true).

For more info about virtual inheritance see http://stackoverflow.com/questions/10534228/order-of-constructor-call-in-virtual-inheritance and https://isocpp.org/wiki/faq/multiple-inheritance#virtual-inheritance-ctors

Cheers,
Pjotr

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: ViewerBase
Type: application/octet-stream
Size: 15153 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150723/49a94eac/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Types
Type: application/octet-stream
Size: 1005 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150723/49a94eac/attachment-0007.obj>


More information about the osg-users mailing list