summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/CMakeLists.txt b/lld/CMakeLists.txt
index 436a6f71edd..9107aae990a 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
OpenPOWER on IntegriCloud