#ifdef WIN32
string msg=Debug::demangle(typeid(e).name())+":\n"+e.what();
- MessageBox(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR);
+ MessageBoxA(0, msg.c_str(), "Uncaught exception", MB_OK|MB_ICONERROR);
#else
cerr<<"An uncaught exception occurred.\n";
cerr<<" type: "<<Debug::demangle(typeid(e).name())<<'\n';