Disable C4062 on Windows.

The use of std::future introduces an implicit dependency on the PPL
subcomponent of ConcRT.  ConcRT in general is pretty noisy with
warnings, so this patch just disables one of the noisy warnings.

llvm-svn: 226590
This commit is contained in:
Zachary Turner 2015-01-20 19:23:44 +00:00
parent c277b3f2b4
commit 10e005626e
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ add_subdirectory(YAML)
set(LLVM_LINK_COMPONENTS object support)
if (MSVC)
add_definitions(-wd4062) # Suppress 'warning C4062: Enumerator has no associated handler in a switch statement.'
endif()
add_lld_library(lldReaderWriter
CoreLinkingContext.cpp
FileArchive.cpp