From b6396eaef90c9f3dee42d8af918b93b6628b9f4a Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 25 Feb 2015 01:30:13 +0000 Subject: [PATCH] Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system header. llvm-svn: 230422 --- lld/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt index 436a6f71eddb..9107aae990ab 100644 --- a/lld/CMakeLists.txt +++ b/lld/CMakeLists.txt @@ -88,6 +88,7 @@ endif() if (MSVC) add_definitions(-wd4530) # Suppress 'warning C4530: C++ exception handler used, but unwind semantics are not enabled.' + add_definitions(-wd4062) # Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system header. endif() include_directories(BEFORE