From 5e176a390fa7c049640612f4a62ee50e129b0222 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 28 Dec 2024 18:15:19 +0100 Subject: [PATCH] MacOS: silence some warnings --- darwin/util/sysinfo_darwin.mm | 2 ++ rpcs3/Input/gui_pad_thread.cpp | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/darwin/util/sysinfo_darwin.mm b/darwin/util/sysinfo_darwin.mm index e1ffe458f3..0be5eec7f0 100644 --- a/darwin/util/sysinfo_darwin.mm +++ b/darwin/util/sysinfo_darwin.mm @@ -1,5 +1,7 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wmissing-declarations" #import #pragma GCC diagnostic pop diff --git a/rpcs3/Input/gui_pad_thread.cpp b/rpcs3/Input/gui_pad_thread.cpp index ff179f644e..87fa0999f3 100644 --- a/rpcs3/Input/gui_pad_thread.cpp +++ b/rpcs3/Input/gui_pad_thread.cpp @@ -27,6 +27,10 @@ #elif defined(__APPLE__) #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wold-style-cast" +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#pragma GCC diagnostic ignored "-Wmissing-declarations" +#pragma GCC diagnostic ignored "-Wnullability-completeness" +#pragma GCC diagnostic ignored "-Wdeprecated-anon-enum-enum-conversion" #include #include #pragma GCC diagnostic pop