]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/genrunways.cxx
Moved random ground cover object management code (userdata.[ch]xx) over
[flightgear.git] / src / Airports / genrunways.cxx
index 97516eab018917df58dd8dc07106e7cb34c15711..f3b4c4709ed0fa2a6466cc6c7f8469d9fa7f9a10 100644 (file)
@@ -1,16 +1,28 @@
 // dump out a gdbm version of the simple airport file
 
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
+
+#include <simgear/debug/logstream.hxx>
+
 #include "runways.hxx"
 
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+
 int main( int argc, char **argv ) {
     FGRunwaysUtil runways;
     FGRunway r;
 
+    sglog().setLogLevels( SG_ALL, SG_INFO );
+
     if ( argc == 3 ) {
        runways.load( argv[1] );
        runways.dump_mk4( argv[2] );    
     } else {
        cout << "usage: " << argv[0] << " <in> <out>" << endl;
+       exit(-1);
     }
 
     cout << endl;