mirror of https://github.com/GNOME/gimp.git
plug-ins: suppress deprecation warnings from the OpenEXR headers
"Fix" straight from stackoverflow, I have no idea how this builds on anything except gcc or clang.
This commit is contained in:
parent
32d789e355
commit
d223522b8b
|
@ -48,11 +48,15 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* ignore deprecated warnings from OpenEXR headers */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wdeprecated"
|
||||
#include <ImfInputFile.h>
|
||||
#include <ImfChannelList.h>
|
||||
#include <ImfRgbaFile.h>
|
||||
#include <ImfRgbaYca.h>
|
||||
#include <ImfStandardAttributes.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
#include "exr-attribute-blob.h"
|
||||
#include "openexr-wrapper.h"
|
||||
|
|
Loading…
Reference in New Issue