diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-14 01:00:05 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-14 01:00:05 +0200 |
| commit | 274dd30f2b11fe8ea563a2ac7436c9d463865b0b (patch) | |
| tree | 199e7447606339d461f6f87d16095376d8f809b3 /examples | |
| parent | 4bd57fbbac67ac04ec47a9765b9f278aa1691851 (diff) | |
Fix/hide some warnings.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/read_dcp.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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 <Magick++.h> +LIBDCP_ENABLE_WARNINGS #include <boost/scoped_array.hpp> /** @file examples/read_dcp.cc |
