diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-04-19 00:03:17 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-04-19 00:03:17 +0000 |
commit | 05a5ff1f00c30a68a151342bf7c47bf86d555d57 (patch) | |
tree | 9d9e409837f0e43f6808ccb27d26a19d1e4dfc12 /cmake | |
parent | 05d0265fef651de152c8127aa701e689555649f3 (diff) | |
download | llvm-05a5ff1f00c30a68a151342bf7c47bf86d555d57.tar.gz llvm-05a5ff1f00c30a68a151342bf7c47bf86d555d57.tar.bz2 llvm-05a5ff1f00c30a68a151342bf7c47bf86d555d57.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/HandleLLVMOptions.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index 2c216f3eaf..0633ac9e3a 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -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. ) |