Disable warning C4181: "qualifier applied to reference type; ignored"
authorFrancois Pichet <pichet2000@gmail.com>
Tue, 19 Apr 2011 00:03:17 +0000 (00:03 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Tue, 19 Apr 2011 00:03:17 +0000 (00:03 +0000)
This was causing a flooding of warnings with MSVC 2008. This warning was removed in MSVC 2010.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129737 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index 2c216f3eafdbec133110a574805c2b20a59be550..0633ac9e3a5b158af6ee6e6f5908744c07873a4c 100644 (file)
@@ -153,7 +153,7 @@ if( MSVC )
     -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.
     )