From d96828f454e60d26041421b1794f856e134b8c35 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Tue, 7 Jun 2022 17:55:26 +0200 Subject: [PATCH] Suppressed MSVC compiler warnings C4251 caused by rlottie DLL interface exports. --- es-core/src/components/LottieAnimComponent.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/es-core/src/components/LottieAnimComponent.h b/es-core/src/components/LottieAnimComponent.h index 1949488f1..dcf06c46f 100644 --- a/es-core/src/components/LottieAnimComponent.h +++ b/es-core/src/components/LottieAnimComponent.h @@ -6,6 +6,11 @@ // Component to play Lottie animations using the rlottie library. // +#if defined(_MSC_VER) // MSVC compiler. +// Disable rlottie DLL interface warnings. +#pragma warning(disable : 4251) +#endif + #ifndef ES_CORE_COMPONENTS_LOTTIE_ANIM_COMPONENT_H #define ES_CORE_COMPONENTS_LOTTIE_ANIM_COMPONENT_H