mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
Promote "enumerator in switch of enum is not handled" to level 1 warning on MSVC. It was disabled by default.
llvm-svn: 121096
This commit is contained in:
parent
4c0dfbd472
commit
95e129a686
@ -247,7 +247,10 @@ if( MSVC )
|
||||
add_llvm_definitions( -D_SCL_SECURE_NO_DEPRECATE )
|
||||
add_llvm_definitions( -wd4146 -wd4503 -wd4996 -wd4800 -wd4244 -wd4624 )
|
||||
add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 -wd4267 -wd4291 )
|
||||
add_llvm_definitions( -wd4275)
|
||||
add_llvm_definitions( -wd4275 )
|
||||
|
||||
# Promote "enumerator in switch of enum is not handled" to level 1 warning.
|
||||
add_llvm_definitions( -w14062 )
|
||||
|
||||
# Suppress 'new behavior: elements of array 'array' will be default initialized'
|
||||
add_llvm_definitions( -wd4351 )
|
||||
|
Loading…
Reference in New Issue
Block a user