From 131716da0062c044a76b207d8f1bf9b1ae758aed Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 30 Jan 2024 22:32:42 +0530 Subject: [PATCH] Ignore another warning on some compiler versions in simde --- kitty/simd-string-impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/simd-string-impl.h b/kitty/simd-string-impl.h index 416338726..905fe6117 100644 --- a/kitty/simd-string-impl.h +++ b/kitty/simd-string-impl.h @@ -25,6 +25,7 @@ const uint8_t* FUNC(find_either_of_two_bytes)(const uint8_t *haystack UNUSED, co #include "charsets.h" // Boilerplate {{{ +START_IGNORE_DIAGNOSTIC("-Wfloat-conversion") #if defined(__clang__) && __clang_major__ > 12 _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"") @@ -34,6 +35,7 @@ _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"") #if defined(__clang__) && __clang_major__ > 12 _Pragma("clang diagnostic pop") #endif +END_IGNORE_DIAGNOSTIC #ifndef _MM_SHUFFLE