[llvm-commits] [llvm] r123610 - /llvm/trunk/CMakeLists.txt

Francois Pichet pichet2000 at gmail.com
Sun Jan 16 18:07:17 PST 2011


Author: fpichet
Date: Sun Jan 16 20:07:17 2011
New Revision: 123610

URL: http://llvm.org/viewvc/llvm-project?rev=123610&view=rev
Log:
Suppress warning "switch statement contains 'default' but no 'case' labels" on MSVC.

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=123610&r1=123609&r2=123610&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Sun Jan 16 20:07:17 2011
@@ -286,6 +286,7 @@
     -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.
     )





More information about the llvm-commits mailing list