}
string
-command_and_read (string cmd)
+command_and_read (string)
{
return "";
}
}
-void done_callback(DADiskRef disk, DADissenterRef dissenter, void* context)
+void done_callback(DADiskRef, DADissenterRef dissenter, void* context)
{
LOG_DISK_NC("Unmount finished");
bool* success = reinterpret_cast<bool*> (context);
#include "lib/job_manager.h"
#include "lib/disk_writer_messages.h"
#include "lib/version.h"
+#include "lib/warnings.h"
#include <wx/wx.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <boost/process.hpp>
+DCPOMATIC_ENABLE_WARNINGS
#ifdef DCPOMATIC_WINDOWS
#include <boost/process/windows.hpp>
#endif
/* I *think* this confumes the notifyd event that we used to start the process, so we only
* get started once per notification.
*/
- xpc_set_event_stream_handler("com.apple.notifyd.matching", DISPATCH_TARGET_QUEUE_DEFAULT, ^(xpc_object_t event) {});
+ xpc_set_event_stream_handler("com.apple.notifyd.matching", DISPATCH_TARGET_QUEUE_DEFAULT, ^(xpc_object_t) {});
#endif
try {
#include <boost/process.hpp>\n
int main() { new boost::process::child("foo"); }\n
""",
+ cxxflags='-Wno-unused-parameter',
msg='Checking for boost process library',
lib=deps,
uselib_store='BOOST_PROCESS')