From 37bd1c6b93b8b255e791ed7dcfba9eb9281c4d5c Mon Sep 17 00:00:00 2001 From: Laurens Voerman Date: Mon, 19 Sep 2016 16:40:59 +0200 Subject: [PATCH] disable warning C4589 for MSVC --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b8d32e77..1d4e6f50a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1056,7 +1056,8 @@ ELSEIF(MSVC) #C4100 'identifier' : unreferenced formal parameter #C4127 Error Message conditional expression is constant #C4706 assignment within conditional expression - SET(OSG_AGGRESSIVE_WARNING_FLAGS /W4 /wd4706 /wd4127 /wd4100) + #C4589: Constructor of abstract class 'osgGA::CameraManipulator' ignores initializer for virtual base class 'osg::Object' + SET(OSG_AGGRESSIVE_WARNING_FLAGS /W4 /wd4589 /wd4706 /wd4127 /wd4100) ELSEIF(CMAKE_CXX_COMPILER_ID STREQUAL "Clang") SET(OSG_AGGRESSIVE_WARNING_FLAGS -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused -Wno-overloaded-virtual)