From 2ce858a9437571b9f67f960d6582e09624096183 Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Mon, 17 Jan 2011 02:07:17 +0000 Subject: [PATCH] Suppress warning "switch statement contains 'default' but no 'case' labels" on MSVC. llvm-svn: 123610 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7df188560b7..52f0a5815b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -286,6 +286,7 @@ if( MSVC ) -wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible' -wd4715 # Suppress ''function' : not all control paths return a value' -wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)' + -wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels' -w14062 # Promote "enumerator in switch of enum is not handled" to level 1 warning. )