disable warning from Functional header (#2352)

* update the correct warning
This commit is contained in:
Victor Vazquez 2021-05-26 15:50:58 -07:00 committed by GitHub
parent 97ba448859
commit 3596685e80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,13 @@ if(BUILD_TRANSPORT_WINHTTP)
target_link_libraries(azure-core PRIVATE winhttp)
endif()
if (MSVC)
# Disable warnings:
# - C6285: (<non-zero constant> || <non-zero constant>) -> VBProject static analysis on Functional header:
# _Is_large, regression from VS version 19.28.29915.0 to 19.29.30037.0
target_compile_options(azure-core PUBLIC /wd6285)
endif()
get_az_version("${CMAKE_CURRENT_SOURCE_DIR}/src/private/package_version.hpp")
generate_documentation(azure-core ${AZ_LIBRARY_VERSION})