MagickUtils: Add #pragma to silence IM6 warning

This commit is contained in:
Frank Dana
2020-06-18 05:47:40 -04:00
committed by GitHub
parent 73d1689414
commit 001b2d8a71

View File

@@ -32,7 +32,11 @@
#ifdef USE_IMAGEMAGICK
// Exclude a warning message with IM6 headers
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
#include "Magick++.h"
#pragma GCC diagnostic pop
// Determine ImageMagick version, as IM7 isn't fully
// backwards compatible