Skip to content

Commit

Permalink
MagickUtils: Add #pragma to silence IM6 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdnyc committed Jun 18, 2020
1 parent 73d1689 commit 001b2d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/MagickUtilities.h
Expand Up @@ -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
Expand Down

0 comments on commit 001b2d8

Please sign in to comment.