[lld] r230422 - Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system header.

Michael J. Spencer bigcheesegs at gmail.com
Tue Feb 24 17:30:13 PST 2015


Author: mspencer
Date: Tue Feb 24 19:30:13 2015
New Revision: 230422

URL: http://llvm.org/viewvc/llvm-project?rev=230422&view=rev
Log:
Suppress 'warning C4062: enumerator X in switch of enum Y is not handled' from system header.

Modified:
    lld/trunk/CMakeLists.txt

Modified: lld/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/CMakeLists.txt?rev=230422&r1=230421&r2=230422&view=diff
==============================================================================
--- lld/trunk/CMakeLists.txt (original)
+++ lld/trunk/CMakeLists.txt Tue Feb 24 19:30:13 2015
@@ -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





More information about the llvm-commits mailing list