From e4c299d9753d5493719a7e21fc9d23371e6f14ef Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Sep 2011 12:08:35 +0000 Subject: comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers. with GCC we have *some* warnings as errors which works out better. --- intern/ghost/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'intern/ghost') diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt index bdda0f3382e..e028c4e6912 100644 --- a/intern/ghost/CMakeLists.txt +++ b/intern/ghost/CMakeLists.txt @@ -248,9 +248,10 @@ elseif(UNIX) endif() elseif(WIN32) - if(MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX") - endif() + ## Warnings as errors, this is too strict! + #if(MSVC) + # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX") + #endif() list(APPEND INC_SYS ${WINTAB_INC} -- cgit v1.2.3