From c06f598d80b76fa492f9e12698da732f287759e5 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Fri, 7 Jul 2023 18:32:11 +0200 Subject: [PATCH] (macOS) Suppressed a compiler warning --- es-core/src/utils/StringUtil.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-core/src/utils/StringUtil.cpp b/es-core/src/utils/StringUtil.cpp index 281c0f5c1..3b6510f3b 100644 --- a/es-core/src/utils/StringUtil.cpp +++ b/es-core/src/utils/StringUtil.cpp @@ -7,8 +7,11 @@ // Convert characters to Unicode, upper-/lowercase conversion, string formatting etc. // +// Suppress codecvt deprecation warnings. #if defined(_MSC_VER) // MSVC compiler. #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING +#elif defined(__APPLE__) +#pragma clang diagnostic ignored "-Wdeprecated-declarations" #endif #include "utils/StringUtil.h"