diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-17 01:28:30 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-08-17 01:28:30 +0000 |
commit | a69179d7689bf302f3c7e04ee83c460e69b96b94 (patch) | |
tree | 14883c6348c9d3ad42984def387c16d776463f33 /cmake/modules | |
parent | f0813ceeaf33ab77fbc8b0196ebb612544e67579 (diff) | |
download | external_llvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.zip external_llvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.tar.gz external_llvm-a69179d7689bf302f3c7e04ee83c460e69b96b94.tar.bz2 |
CMake: [MSVC] Suppress C4551 'function call missing argument list'.
(void)static_func; it is used as idiom in llvm source tree to suppress "Unused static function" warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules')
-rw-r--r-- | cmake/modules/HandleLLVMOptions.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/HandleLLVMOptions.cmake b/cmake/modules/HandleLLVMOptions.cmake index d0427ac..2731455 100644 --- a/cmake/modules/HandleLLVMOptions.cmake +++ b/cmake/modules/HandleLLVMOptions.cmake @@ -155,6 +155,7 @@ if( MSVC ) -wd4351 # Suppress 'new behavior: elements of array 'array' will be default initialized' -wd4355 # Suppress ''this' : used in base member initializer list' -wd4503 # Suppress ''identifier' : decorated name length exceeded, name was truncated' + -wd4551 # Suppress 'function call missing argument list' -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)' |