vcpkg/ports/aom/aom-uninitialized-pointer.diff
Levin Li 7bb175eafe
[aom/libavif] Add support for ARM and UWP ()
* Support libavif building on UWP and ARM

Remove deprecated functions

Bump port version

Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

Bump version

Add version all

use patches

* Add version

* Disable deprecated functions using _CRT_SECURE_NO_WARNINGS rather than disabling 4996.

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2021-12-07 12:34:46 -08:00

14 lines
541 B
Diff

diff --git a/build/cmake/aom_configure.cmake b/build/cmake/aom_configure.cmake
index 43d60ae..35c510b 100644
--- a/build/cmake/aom_configure.cmake
+++ b/build/cmake/aom_configure.cmake
@@ -265,6 +265,8 @@ if(MSVC)
# Disable MSVC warnings that suggest making code non-portable.
add_compiler_flag_if_supported("/wd4996")
+ # Disable MSVC warnings for potentially uninitialized local pointer variable.
+ add_compiler_flag_if_supported("/wd4703")
if(ENABLE_WERROR)
add_compiler_flag_if_supported("/WX")
endif()