[llvm-commits] [llvm] r76355 - /llvm/trunk/CMakeLists.txt
Daniel Dunbar
daniel at zuster.org
Sat Jul 18 18:35:11 PDT 2009
Author: ddunbar
Date: Sat Jul 18 20:35:10 2009
New Revision: 76355
URL: http://llvm.org/viewvc/llvm-project?rev=76355&view=rev
Log:
MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
this". Um, ok, thanks!
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=76355&r1=76354&r2=76355&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Sat Jul 18 20:35:10 2009
@@ -205,6 +205,9 @@
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)
More information about the llvm-commits
mailing list