mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 21:34:23 +00:00
Promote "enumerator in switch of enum is not handled" to level 1 warning on MSVC. It was disabled by default.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
44d392a6af
commit
97b2f72765
@ -249,6 +249,9 @@ if( MSVC )
|
||||
add_llvm_definitions( -wd4355 -wd4715 -wd4180 -wd4345 -wd4224 -wd4267 -wd4291 )
|
||||
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…
x
Reference in New Issue
Block a user