]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bootstrap.cxx
Melchior FRANZ:
[flightgear.git] / src / Main / bootstrap.cxx
index d9cad75c5386c89d9130ba3996fe1607d18ad56a..5f2b24a54f149ee568cdf07996e26e331dcd64a5 100644 (file)
@@ -2,7 +2,7 @@
 //
 // Written by Curtis Olson, started May 1997.
 //
-// Copyright (C) 1997 - 2002  Curtis L. Olson  - curt@flightgear.org
+// Copyright (C) 1997 - 2002  Curtis L. Olson  - http://www.flightgear.org/~curt
 //
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License as
@@ -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;