[llvm-commits] [llvm] r121096 - /llvm/trunk/CMakeLists.txt
Francois Pichet
pichet2000 at gmail.com
Mon Dec 6 17:25:06 PST 2010
Author: fpichet
Date: Mon Dec 6 19:25:06 2010
New Revision: 121096
URL: http://llvm.org/viewvc/llvm-project?rev=121096&view=rev
Log:
Promote "enumerator in switch of enum is not handled" to level 1 warning on MSVC. It was disabled by default.
Modified:
llvm/trunk/CMakeLists.txt
Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=121096&r1=121095&r2=121096&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Mon Dec 6 19:25:06 2010
@@ -247,7 +247,10 @@
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 )
More information about the llvm-commits
mailing list