Ignore libxml++ warnings in a nicer way.
[dcpomatic.git] / src / lib / spl.cc
index ccf809f8bc5523f2e98dd81f4b9a84bfe40cb157..7692df0cab1680d9800423c629eed32003e6e5db 100644 (file)
 
 */
 
-#include "spl.h"
 #include "content_store.h"
+#include "spl.h"
+#include "warnings.h"
 #include <libcxml/cxml.h>
 #include <dcp/raw_convert.h>
+DCPOMATIC_DISABLE_WARNINGS
 #include <libxml++/libxml++.h>
+DCPOMATIC_ENABLE_WARNINGS
 #include <boost/foreach.hpp>
 #include <iostream>