Hi Sam,

Fixes these compile errors and warnings will requires binary changes to the
OSG-3.2 branch so I think we'll need to just say that the OSG-3.2 branch
works with prior versions of VS, such as VS2013 and before.

In the prep for the OSG-3.4 release I have been able to make the required
changes to VS2015 support so could you please try out OSG svn/trunk, the
OSG-3.4 branch or one of the OSG-3.4 release candidate 8 that I tagged last
Friday.

Cheers,
Robert.

On 2 August 2015 at 06:52, sam <brko...@gmail.com> wrote:

> Hi All,
>
> I am trying to compile OSG 3.2.1 and running into the below issues:
>
> 1>------ Build started: Project: osgViewer, Configuration: Debug Win32
> ------
> 1>  AcrossAllScreens.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  PanoramicSphericalDisplay.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\PanoramicSphericalDisplay.cpp(273):
> warning C4456: declaration of 'buffer' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\PanoramicSphericalDisplay.cpp(227):
> note: see declaration of 'buffer'
> 1>  SingleScreen.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  SingleWindow.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  SphericalDisplay.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\SphericalDisplay.cpp(389):
> warning C4456: declaration of 'buffer' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\SphericalDisplay.cpp(249):
> note: see declaration of 'buffer'
> 1>  WoWVxDisplay.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\WoWVxDisplay.cpp(258):
> warning C4456: declaration of 'buffer' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\config\WoWVxDisplay.cpp(96):
> note: see declaration of 'buffer'
> 1>  CompositeViewer.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  GraphicsWindow.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  HelpHandler.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  Renderer.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\Renderer.cpp(231):
> warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
> (was 64-bit shift intended?)
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\Renderer.cpp(235):
> warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits
> (was 64-bit shift intended?)
> 1>  ScreenCaptureHandler.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  StatsHandler.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  View.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\View.cpp(1978):
> warning C4457: declaration of 'camera' hides function parameter
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\View.cpp(1388):
> note: see declaration of 'camera'
> 1>  Viewer.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  ViewerBase.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\ViewerBase.cpp(42):
> warning C4589: Constructor of abstract class 'osgViewer::ViewerBase'
> ignores initializer for virtual base class 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\ViewerBase.cpp(42):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\ViewerBase.cpp(48):
> warning C4589: Constructor of abstract class 'osgViewer::ViewerBase'
> ignores initializer for virtual base class 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\ViewerBase.cpp(48):
> note: virtual base classes are only initialized by the most-derived type
> 1>  ViewerEventHandlers.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>  GraphicsWindowWin32.cpp
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(55):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(81):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> warning C4589: Constructor of abstract class 'osg::Operation' ignores
> initializer for virtual base class 'osg::Referenced'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/OperationThread(85):
> note: virtual base classes are only initialized by the most-derived type
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(99):
> warning C4456: declaration of 'callback' hides previous local declaration
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgUtil/UpdateVisitor(93):
> note: see declaration of 'callback'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> error C2249: 'osg::Object::operator =': no accessible path to private
> member declared in virtual base 'osg::Object'
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(197):
> note: see declaration of 'osg::Object::operator ='
> 1>  D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osg/Object(52):
> note: see declaration of 'osg::Object'
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\include\osgViewer/ViewerBase(338):
> note: This diagnostic occurred in the compiler generated function
> 'osgViewer::ViewerBase &osgViewer::ViewerBase::operator =(const
> osgViewer::ViewerBase &)'
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\GraphicsWindowWin32.cpp(1641):
> warning C4838: conversion from 'int' to 'DWORD' requires a narrowing
> conversion
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\GraphicsWindowWin32.cpp(1641):
> warning C4838: conversion from 'unsigned int' to 'BYTE' requires a
> narrowing conversion
> 1>D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\GraphicsWindowWin32.cpp(2705):
> warning C4457: declaration of 'lParam' hides function parameter
> 1>
> D:\Programming\Libraries\OpenSceneGraph-3.2.1\src\osgViewer\GraphicsWindowWin32.cpp(2460):
> note: see declaration of 'lParam'
> 1>  Generating Code...
> ========== Build: 0 succeeded, 1 failed, 7 up-to-date, 0 skipped ==========
>
> Is this an OSG issue or Visual Studio 2015?
>
> Thanks, Sam
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to