From 8210a9ecab906b522eb7e980fe6e0e2b5ddc5b64 Mon Sep 17 00:00:00 2001 From: Michael Steenbeek Date: Mon, 25 Apr 2022 18:58:31 +0200 Subject: [PATCH] Suppress OpenSSL 3.0 deprecation warnings (#17056) --- src/openrct2/core/Crypt.OpenSSL.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/openrct2/core/Crypt.OpenSSL.cpp b/src/openrct2/core/Crypt.OpenSSL.cpp index 3bf1ba3850..19f537ff67 100644 --- a/src/openrct2/core/Crypt.OpenSSL.cpp +++ b/src/openrct2/core/Crypt.OpenSSL.cpp @@ -9,6 +9,9 @@ #if !defined(DISABLE_NETWORK) && (!defined(_WIN32) || (defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600)) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" + # include "Crypt.h" # include @@ -350,4 +353,6 @@ namespace Crypt } } // namespace Crypt +# pragma GCC diagnostic pop + #endif // DISABLE_NETWORK