mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 12:19:53 +00:00
MSVC: Disable 4351, a completely useless warning: "warning: I'm not miscompiling
this". Um, ok, thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76355 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c6465511d1
commit
2c4df5a95d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user