Commit d223522b authored by Michael Natterer's avatar Michael Natterer 😴

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.
parent 32d789e3
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment