mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-27 10:41:58 +02:00
Ignore warning from simde on clang
This commit is contained in:
@@ -8,7 +8,13 @@
|
|||||||
#define SIMDE_ENABLE_NATIVE_ALIASES
|
#define SIMDE_ENABLE_NATIVE_ALIASES
|
||||||
#include "data-types.h"
|
#include "data-types.h"
|
||||||
#include "simd-string.h"
|
#include "simd-string.h"
|
||||||
|
#ifdef __clang__
|
||||||
|
_Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Wbitwise-instead-of-logical\"")
|
||||||
|
#endif
|
||||||
#include <simde/x86/avx2.h>
|
#include <simde/x86/avx2.h>
|
||||||
|
#ifdef __clang__
|
||||||
|
_Pragma("clang diagnostic pop")
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool has_sse4_2 = false, has_avx2 = false;
|
static bool has_sse4_2 = false, has_avx2 = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user