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



Attachment: ViewerBase
Description: Binary data

Attachment: Types
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to