Various OSX warnings fixes.
[dcpomatic.git] / src / tools / dcpomatic_disk_writer.cc
index 66d38ec19b77ff8a32f35b53b9c3a3f36d4ab0be..1e6d10fbf24af275eb5d2db0269ef9f5d93f8ae7 100644 (file)
@@ -27,6 +27,7 @@
 #include "lib/file_log.h"
 #include "lib/dcpomatic_log.h"
 #include "lib/nanomsg.h"
+#include "lib/warnings.h"
 extern "C" {
 #include <lwext4/ext4_mbr.h>
 #include <lwext4/ext4_fs.h>
@@ -66,7 +67,10 @@ extern "C" {
 }
 #endif
 
+DCPOMATIC_DISABLE_WARNINGS
 #include <glibmm.h>
+DCPOMATIC_ENABLE_WARNINGS
+
 #include <unistd.h>
 #include <sys/types.h>
 #include <boost/filesystem.hpp>