]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/cocoa/errordialog.cpp
Update .gitignore to include build products on Windows
[libs/gui.git] / source / graphics / cocoa / errordialog.cpp
index ec44461113b675680c7d4e73a0ac2a743ce2aeb7..5eab7a4faafd4fbe0d3e7807b040d90c1acbb540 100644 (file)
@@ -1,14 +1,17 @@
 #include "errordialog.h"
+#include <typeinfo>
+#include <msp/core/application.h>
+#include <msp/debug/demangle.h>
+#include "cocoaerrordialog.h"
 
 using namespace std;
 
-extern "C" void run_alert(const char *, const char *);
-
 namespace Msp {
 namespace Graphics {
 
 bool ErrorDialog::report_uncaught_exception(const exception &e) const
 {
+       (void)display;
        if(Application::get_data())
        {
                string type = Debug::demangle(typeid(e).name());