diff options
author | Aaron Robinson <arobins@microsoft.com> | 2022-03-18 04:59:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 04:59:24 +0300 |
commit | 5371203d5820a21922357e954e8c43eb4b76fd1d (patch) | |
tree | 401bf9c42e9261f97a973ffc3ab86aad860755f2 /eng | |
parent | 110cb9fe9189dc5d65eb517313dda3247c1bbbae (diff) |
Reenable 4611 and 4703 (#66792)
Diffstat (limited to 'eng')
-rw-r--r-- | eng/native/configurecompiler.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/eng/native/configurecompiler.cmake b/eng/native/configurecompiler.cmake index 469eb5f59b4..60d2b2b8029 100644 --- a/eng/native/configurecompiler.cmake +++ b/eng/native/configurecompiler.cmake @@ -604,9 +604,7 @@ if (MSVC) add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4459>) # declaration of 'identifier' hides global declaration add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4463>) # overflow; assigning value to bit-field that can only hold values from low_value to high_value add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4505>) # unreferenced function with internal linkage has been removed - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4611>) # interaction between 'function' and C++ object destruction is non-portable add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4702>) # unreachable code - add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4703>) # potentially uninitialized local pointer variable 'var' used add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4706>) # assignment within conditional expression add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4733>) # Inline asm assigning to 'FS:0' : handler not registered as safe handler add_compile_options($<$<COMPILE_LANGUAGE:C,CXX>:/wd4815>) # 'var': zero-sized array in stack object will have no elements (unless the object is an aggregate that has been aggregate initialized) |