// Ignore floating-point exceptions on FreeBSD
signal(SIGFPE, SIG_IGN);
#endif
+#ifndef _MSC_VER
signal(SIGPIPE, SIG_IGN);
+#endif
#if defined(sgi)
flush_fpe();
} catch (const char *s) {
cerr << "Fatal error: " << s << endl;
- } catch (...) {
+/* } catch (...) {
cerr << "Unknown exception in the main loop. Aborting..." << endl;
if (errno)
perror("Possible cause");
- }
+*/ }
return 0;
}