From f56ecb6d3ff43009178fcbb840b831f817e7fbc8 Mon Sep 17 00:00:00 2001 From: David CARLIER Date: Fri, 7 May 2021 01:26:21 +0100 Subject: [PATCH] stblib: disable another unsupported clang warning (#10244) --- rpcs3/stb_image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpcs3/stb_image.cpp b/rpcs3/stb_image.cpp index fa277e5b4a..d4f9674fff 100644 --- a/rpcs3/stb_image.cpp +++ b/rpcs3/stb_image.cpp @@ -18,11 +18,11 @@ #pragma GCC diagnostic ignored "-Wold-style-cast" #pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wcast-qual" -#pragma GCC diagnostic ignored "-Wunused-but-set-variable" -#pragma GCC diagnostic ignored "-Wsign-compare" #ifndef __clang__ +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" #pragma GCC diagnostic ignored "-Wduplicated-branches" #endif +#pragma GCC diagnostic ignored "-Wsign-compare" #include #include #pragma GCC diagnostic pop