projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c277b3f
)
Disable C4062 on Windows.
author
Zachary Turner
<zturner@google.com>
Tue, 20 Jan 2015 19:23:44 +0000
(19:23 +0000)
committer
Zachary Turner
<zturner@google.com>
Tue, 20 Jan 2015 19:23:44 +0000
(19:23 +0000)
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
lld/lib/ReaderWriter/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lld/lib/ReaderWriter/CMakeLists.txt
b/lld/lib/ReaderWriter/CMakeLists.txt
index
f49baed
..
0751ccf
100644
(file)
--- a/
lld/lib/ReaderWriter/CMakeLists.txt
+++ b/
lld/lib/ReaderWriter/CMakeLists.txt
@@
-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