From e0373d679cbd61ba7f9482f61e5fa74c4df816d0 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Tue, 3 Oct 2023 17:49:19 +0200 Subject: [PATCH] Disable treat errors as warnings for httplib --- src/core/hle/service/http/http_c.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/core/hle/service/http/http_c.h b/src/core/hle/service/http/http_c.h index 722e5e93ae..d2e0c45ee6 100644 --- a/src/core/hle/service/http/http_c.h +++ b/src/core/hle/service/http/http_c.h @@ -20,7 +20,23 @@ #if defined(__ANDROID__) #include #endif +#if defined(_WIN32) +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(default : all) +#else +#pragma GCC diagnostic push +#pragma GCC diagnostic warning "-Werror" +#endif +#endif #include +#if defined(_WIN32) +#ifdef _MSC_VER +#pragma warning(pop) +#else +#pragma GCC diagnostic pop +#endif +#endif #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/shared_memory.h" #include "core/hle/service/service.h"