[llvm-commits] [llvm] r129737 - /llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Francois Pichet pichet2000 at gmail.com
Mon Apr 18 17:03:17 PDT 2011


Author: fpichet
Date: Mon Apr 18 19:03:17 2011
New Revision: 129737

URL: http://llvm.org/viewvc/llvm-project?rev=129737&view=rev
Log:
Disable warning C4181: "qualifier applied to reference type; ignored"
This was causing a flooding of warnings with MSVC 2008. This warning was removed in MSVC 2010.

Modified:
    llvm/trunk/cmake/modules/HandleLLVMOptions.cmake

Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=129737&r1=129736&r2=129737&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Mon Apr 18 19:03:17 2011
@@ -153,7 +153,7 @@
     -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'
-
+    -wd4181 # Suppress 'qualifier applied to reference type; ignored'
     -w14062 # Promote "enumerator in switch of enum is not handled" to level 1 warning.
     )
 





More information about the llvm-commits mailing list