Silence warning during DualCon compile: "Node *pointer[0];" gets MSVC compiler all...
authorDaniel Genrich <daniel.genrich@gmx.net>
Sun, 29 Apr 2012 17:02:52 +0000 (17:02 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Sun, 29 Apr 2012 17:02:52 +0000 (17:02 +0000)
CMakeLists.txt

index 6a9ca35cd0537909cbc633c01c6710b2a193261f..16de9a4055e72c4e5e8a9effc509a98dbc5c1d6e 100644 (file)
@@ -827,7 +827,7 @@ elseif(WIN32)
                set(CMAKE_C_FLAGS_RELWITHDEBINFO "/O2 /Ob1 /MT /Zi" CACHE STRING "MSVC MT flags " FORCE)
 
                # most msvc warnings are C & C++
-               set(_WARNINGS "/W3 /wd4018 /wd4244 /wd4305 /wd4800 /wd4181 /wd4065 /wd4267 /we4013")
+               set(_WARNINGS "/W3 /wd4018 /wd4244 /wd4305 /wd4800 /wd4181 /wd4065 /wd4267 /we4013 /wd4200")
                set(C_WARNINGS "${_WARNINGS}")
                set(CXX_WARNINGS "${_WARNINGS}")
                unset(_WARNINGS)