From 43c89f35402ca73d9d24402bd2f0b222d7486074 Mon Sep 17 00:00:00 2001 From: Artem Senichev Date: Sat, 16 Nov 2024 11:38:04 +0300 Subject: [PATCH] exr: Ignore warnings from external header Signed-off-by: Artem Senichev --- src/formats/exr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/formats/exr.c b/src/formats/exr.c index 1e11092..89144d0 100644 --- a/src/formats/exr.c +++ b/src/formats/exr.c @@ -8,9 +8,10 @@ #include #pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wpedantic" +#pragma GCC diagnostic ignored "-Wc11-extensions" #include #pragma GCC diagnostic pop +#pragma GCC diagnostic ignored "-Wmissing-field-initializers" // EXR signature static const uint8_t signature[] = { 0x76, 0x2f, 0x31, 0x01 };