From 48c959e3594f8a532842164b383ec1efc22ec294 Mon Sep 17 00:00:00 2001 From: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> Date: Thu, 26 Aug 2021 16:40:54 -0700 Subject: [PATCH] [Windows] Debug build error in OpenImageIO 3rdParty library (#3625) Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> --- .../Common/Code/Source/FrameCaptureSystemComponent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gems/Atom/Feature/Common/Code/Source/FrameCaptureSystemComponent.cpp b/Gems/Atom/Feature/Common/Code/Source/FrameCaptureSystemComponent.cpp index 6fbdf5b3f0..7374fdaf71 100644 --- a/Gems/Atom/Feature/Common/Code/Source/FrameCaptureSystemComponent.cpp +++ b/Gems/Atom/Feature/Common/Code/Source/FrameCaptureSystemComponent.cpp @@ -33,7 +33,11 @@ #include #if defined(OPEN_IMAGE_IO_ENABLED) +// OpenImageIO/fmath.h(2271,5): error C4777: 'fprintf' : format string '%zd' requires an argument of type 'unsigned __int64', but variadic +// argument 5 has type 'OpenImageIO_v2_1::span_strided::index_type' +AZ_PUSH_DISABLE_WARNING(4777, "-Wunknown-warning-option") #include +AZ_POP_DISABLE_WARNING #endif namespace AZ