Ignore libxml++ warnings in a nicer way.
[dcpomatic.git] / src / lib / encode_server.cc
index c242cb216acac2a45d4a98f3d63d823fc53a2329..61e0b09c58f1a340460791c02c7ead7aef417b8a 100644 (file)
 #include "dcpomatic_log.h"
 #include "encoded_log_entry.h"
 #include "version.h"
+#include "warnings.h"
 #include <dcp/raw_convert.h>
 #include <libcxml/cxml.h>
+DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/algorithm/string.hpp>
 #include <boost/scoped_array.hpp>
 #include <boost/foreach.hpp>