diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-08-26 12:33:00 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-08-26 12:33:00 +0000 |
commit | 1ad8781f1ddd96fbe6ebc244f2a064d96a0d436e (patch) | |
tree | 7a7c6fc25183eea693c3f72fe51c14f78a18867d /cmake | |
parent | 50339127d27d2a946de03e65853aea1d80b74af8 (diff) |
[ASan/Win] Disable warning C4391: incorrect return type for intrinsic function
This warning makes it a bit hard to define strlen and wcslen interceptors in an elegant yet portable way
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@216450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index ee9a7bf60..8035f7eb5 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -39,6 +39,7 @@ check_cxx_compiler_flag("-Werror -Wno-variadic-macros" COMPILER_RT_HAS_WNO_VA check_cxx_compiler_flag(/W3 COMPILER_RT_HAS_W3_FLAG) check_cxx_compiler_flag(/WX COMPILER_RT_HAS_WX_FLAG) +check_cxx_compiler_flag(/wd4391 COMPILER_RT_HAS_WD4391_FLAG) check_cxx_compiler_flag(/wd4722 COMPILER_RT_HAS_WD4722_FLAG) # Symbols. |