Skip to content

Commit

Permalink
Suppress warning "switch statement contains 'default' but no 'case' l…
Browse files Browse the repository at this point in the history
…abels" on MSVC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123610 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
fpichet committed Jan 17, 2011
1 parent ebed6de commit 119266c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ if( MSVC )
-wd4624 # Suppress ''derived class' : destructor could not be generated because a base class destructor is inaccessible'
-wd4715 # Suppress ''function' : not all control paths return a value'
-wd4800 # Suppress ''type' : forcing value to bool 'true' or 'false' (performance warning)'
-wd4065 # Suppress 'switch statement contains 'default' but no 'case' labels'

-w14062 # Promote "enumerator in switch of enum is not handled" to level 1 warning.
)
Expand Down

0 comments on commit 119266c

Please sign in to comment.