From 274dd30f2b11fe8ea563a2ac7436c9d463865b0b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Apr 2021 01:00:05 +0200 Subject: Fix/hide some warnings. --- examples/read_dcp.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'examples/read_dcp.cc') diff --git a/examples/read_dcp.cc b/examples/read_dcp.cc index 998d0dc4..53607377 100644 --- a/examples/read_dcp.cc +++ b/examples/read_dcp.cc @@ -36,7 +36,12 @@ #include "openjpeg_image.h" #include "colour_conversion.h" #include "rgb_xyz.h" +/* This DISABLE/ENABLE pair is just to ignore some warnings from Magick++.h; they + * can be removed. + */ +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include /** @file examples/read_dcp.cc -- cgit v1.2.3