Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system...
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 25 Feb 2015 01:30:13 +0000 (01:30 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 25 Feb 2015 01:30:13 +0000 (01:30 +0000)
llvm-svn: 230422

lld/CMakeLists.txt

index 436a6f7..9107aae 100644 (file)
@@ -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