summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2015-02-25 01:30:13 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2015-02-25 01:30:13 +0000
commitb6396eaef90c9f3dee42d8af918b93b6628b9f4a (patch)
tree1553288e320b82d9b383a7bb74593797a4178a39
parent6b6e9e2b5cf6ea4ef2d591db36aa692b2ff372e1 (diff)
downloadbcm5719-llvm-b6396eaef90c9f3dee42d8af918b93b6628b9f4a.tar.gz
bcm5719-llvm-b6396eaef90c9f3dee42d8af918b93b6628b9f4a.zip
Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system header.
llvm-svn: 230422
-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