summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/hle/service/bcat/backend/boxcat.cpp3
-rw-r--r--src/web_service/web_backend.cpp10
2 files changed, 13 insertions, 0 deletions
diff --git a/src/core/hle/service/bcat/backend/boxcat.cpp b/src/core/hle/service/bcat/backend/boxcat.cpp
index dc15cf58b..7ca7f2aac 100644
--- a/src/core/hle/service/bcat/backend/boxcat.cpp
+++ b/src/core/hle/service/bcat/backend/boxcat.cpp
@@ -7,6 +7,9 @@
7#ifdef __GNUC__ 7#ifdef __GNUC__
8#pragma GCC diagnostic push 8#pragma GCC diagnostic push
9#pragma GCC diagnostic ignored "-Wshadow" 9#pragma GCC diagnostic ignored "-Wshadow"
10#ifndef __clang__
11#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
12#endif
10#endif 13#endif
11#include <httplib.h> 14#include <httplib.h>
12#include <mbedtls/sha256.h> 15#include <mbedtls/sha256.h>
diff --git a/src/web_service/web_backend.cpp b/src/web_service/web_backend.cpp
index e04f7dfc6..b1e02c57a 100644
--- a/src/web_service/web_backend.cpp
+++ b/src/web_service/web_backend.cpp
@@ -8,7 +8,17 @@
8#include <string> 8#include <string>
9 9
10#include <fmt/format.h> 10#include <fmt/format.h>
11
12#ifdef __GNUC__
13#pragma GCC diagnostic push
14#ifndef __clang__
15#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
16#endif
17#endif
11#include <httplib.h> 18#include <httplib.h>
19#ifdef __GNUC__
20#pragma GCC diagnostic pop
21#endif
12 22
13#include "common/logging/log.h" 23#include "common/logging/log.h"
14#include "web_service/web_backend.h" 24#include "web_service/web_backend.h"