diff --git a/CMakeLists.txt b/CMakeLists.txt index 16afd2cbd..6d51f7f63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -535,7 +535,7 @@ ELSE(CMAKE_COMPILER_IS_GNUCXX) # FIXME: What are good aggressive warning flags for Visual Studio? # And do we need to further subcase this for different versions of VS? # CMake variables: MSVC60, MSVC70, MSVC71, MSVC80, CMAKE_COMPILER_2005 - SET(OSG_AGGRESSIVE_WARNING_FLAGS /W4 /wd4706 /wd4127) + SET(OSG_AGGRESSIVE_WARNING_FLAGS /W4 /wd4706 /wd4127 /wd4100) ELSE(MSVC)