From bf546aa1946c261d7eae15792be737ca1f147a3a Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Sun, 28 Jul 2013 18:04:26 +0000 Subject: [PATCH] Partial revert of 187310; it seems MSVC 10 still spits out this warning, but MSVC 11 does not. llvm-svn: 187331 --- cmake/modules/HandleLLVMOptions.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index ccd8c819ad2..97824a10645 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -176,7 +176,8 @@ if( MSVC ) -wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated' -wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible' -wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)' - + -wd4275 # Suppress 'An exported class was derived from a class that was not exported.' + # Promoted warnings. -w14062 # Promote 'enumerator in switch of enum is not handled' to level 1 warning.