]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bootstrap.cxx
Boris Koenig:
[flightgear.git] / src / Main / bootstrap.cxx
index d9cad75c5386c89d9130ba3996fe1607d18ad56a..40c85c74306a45d11a90eef5148d54cc44c9202b 100644 (file)
@@ -31,6 +31,7 @@
 #endif
 
 #include <stdlib.h>
+#include <stdio.h>
 
 #include <simgear/compiler.h>
 #include <simgear/structure/exception.hxx>
@@ -190,6 +191,7 @@ int main ( int argc, char **argv ) {
              << "\n (received from " << t.getOrigin() << ')' << endl;
     } catch (...) {
         cerr << "Unknown exception in the main loop. Aborting..." << endl;
+        perror("Possible cause");
     }
 
     return 0;