From a4c8bcab180c5a4000e20388e079ae7e69f5fa39 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 28 May 2022 16:36:00 +0200 Subject: [PATCH] fix: Disable another warning to make macOS happy --- lib/libimhex/include/hex/helpers/encoding_file.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libimhex/include/hex/helpers/encoding_file.hpp b/lib/libimhex/include/hex/helpers/encoding_file.hpp index 31ff4c200..05e0730b4 100644 --- a/lib/libimhex/include/hex/helpers/encoding_file.hpp +++ b/lib/libimhex/include/hex/helpers/encoding_file.hpp @@ -4,6 +4,7 @@ // TODO: Workaround for weird issue picked up by GCC 12.1.0 and later. This seems like a compiler bug mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98465 #pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunknown-warning-option" #pragma GCC diagnostic ignored "-Wpragmas" #pragma GCC diagnostic ignored "-Wrestrict" #pragma GCC diagnostic ignored "-Wstringop-overread"