diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-26 02:26:17 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-26 21:30:53 +0200 |
| commit | 2bec3708fc744c18128c5bdb4c2a332f5c8eb283 (patch) | |
| tree | e46632701e9b4201fbfd799070b37aade0ccf457 /test | |
| parent | ce624e59b9dee93195d2582f7264ab398ed0d99b (diff) | |
Ignore libxml++ warnings in a nicer way.
Diffstat (limited to 'test')
| -rw-r--r-- | test/stream_test.cc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/test/stream_test.cc b/test/stream_test.cc index 1e1462464..b4b7c260b 100644 --- a/test/stream_test.cc +++ b/test/stream_test.cc @@ -22,12 +22,15 @@ * @brief Some simple tests of FFmpegAudioStream. */ -#include <boost/test/unit_test.hpp> -#include <libxml++/libxml++.h> -#include <libcxml/cxml.h> +#include "lib/film.h" #include "lib/ffmpeg_content.h" #include "lib/ffmpeg_audio_stream.h" -#include "lib/film.h" +#include "lib/warnings.h" +#include <libcxml/cxml.h> +DCPOMATIC_DISABLE_WARNINGS +#include <libxml++/libxml++.h> +DCPOMATIC_ENABLE_WARNINGS +#include <boost/test/unit_test.hpp> using std::pair; using std::list; |
