Skip to content

Commit

Permalink
exr: Ignore warnings from external header
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed Nov 16, 2024
1 parent 0428aef commit 43c89f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/formats/exr.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
#include <string.h>

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#pragma GCC diagnostic ignored "-Wc11-extensions"
#include <openexr.h>
#pragma GCC diagnostic pop
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"

// EXR signature
static const uint8_t signature[] = { 0x76, 0x2f, 0x31, 0x01 };
Expand Down

0 comments on commit 43c89f3

Please sign in to comment.