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:
8c0f05b
)
MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
author
Daniel Dunbar
<daniel@zuster.org>
Sun, 19 Jul 2009 01:35:10 +0000
(
01:35
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sun, 19 Jul 2009 01:35:10 +0000
(
01:35
+0000)
this". Um, ok, thanks!
llvm-svn: 76355
llvm/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/llvm/CMakeLists.txt
b/llvm/CMakeLists.txt
index bacb07a33e787597322d8a3f84c0849312ef36ef..90382503e40bc884ffcdc610eb3038849dacf014 100644
(file)
--- a/
llvm/CMakeLists.txt
+++ b/
llvm/CMakeLists.txt
@@
-205,6
+205,9
@@
if( MSVC )
add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 )
add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 )
+ # Suppress 'new behavior: elements of array 'array' will be default initialized'
+ add_llvm_definitions( -wd4351 )
+
if (NOT ${LLVM_USE_CRT} STREQUAL "")
list(FIND MSVC_CRT ${LLVM_USE_CRT} idx)
if (idx LESS 0)