From eb07307370b8efc0373532f90f8a184c85164765 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 30 Apr 2024 09:54:14 +0530 Subject: [PATCH] Ignore pedantic warnings from simde headers --- 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 3bbf95a15..5d32d363a 100644 --- a/kitty/simd-string-impl.h +++ b/kitty/simd-string-impl.h @@ -28,6 +28,7 @@ void FUNC(xor_data64)(const uint8_t key[64] UNUSED, uint8_t* data UNUSED, const // Boilerplate {{{ START_IGNORE_DIAGNOSTIC("-Wfloat-conversion") +START_IGNORE_DIAGNOSTIC("-Wpedantic") #if defined(__clang__) && __clang_major__ > 12 _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"") @@ -38,6 +39,7 @@ _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"") _Pragma("clang diagnostic pop") #endif END_IGNORE_DIAGNOSTIC +END_IGNORE_DIAGNOSTIC #ifndef _MM_SHUFFLE