Merge pull request #136 from LaurensVoerman/Submissions11
disable warning C4589 for MSVC
This commit is contained in:
commit
57f9257f32
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user