diff --git a/core/ssrf.h b/core/ssrf.h index a07436d80..7f65f2dc5 100644 --- a/core/ssrf.h +++ b/core/ssrf.h @@ -6,6 +6,10 @@ extern "C" { #endif +#ifdef __clang__ +// Clang has a bug on zero-initialization of C structs. +#pragma clang diagnostic ignored "-Wmissing-field-initializers" +#endif #ifdef __cplusplus }