Skip to content
Snippets Groups Projects
Commit 97b2f727 authored by Francois Pichet's avatar Francois Pichet
Browse files

Promote "enumerator in switch of enum is not handled" to level 1 warning on...

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
parent 44d392a6
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment