]> git.mxchange.org Git - flightgear.git/commitdiff
gcc-3.0 fixes.
authorcurt <curt>
Tue, 3 Jul 2001 22:39:16 +0000 (22:39 +0000)
committercurt <curt>
Tue, 3 Jul 2001 22:39:16 +0000 (22:39 +0000)
src/Airports/genrunways.cxx
src/Airports/gensimple.cxx
src/Input/fgjs.cxx

index d81f7474ceb97378078f570fab63dff7327d0294..869e9bb64dbec795fdb2831f152b10eb8bdb6153 100644 (file)
@@ -1,11 +1,24 @@
 // 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"
 
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
+
 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] );    
index db67d61f69d39a82c31f641107e376f7568dc891..29db04eb396d2c4a4c6693da9e8cc7194cdd136d 100644 (file)
@@ -1,9 +1,18 @@
 // dump out a gdbm version of the simple airport file
 
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
+
 #include <simgear/debug/logstream.hxx>
 
 #include "simple.hxx"
 
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+#endif
+
 int main( int argc, char **argv ) {
     FGAirportsUtil airports;
     FGAirport a;
index 59ea34a9b24a262c5c59558e2c913f2c6b7dd921..80cfc97ad503e4859abdbdde5fbbfc4dbcdb68be 100644 (file)
 
 #include <jsinput.h>
 
+#if !defined(SG_HAVE_NATIVE_SGI_COMPILERS)
+SG_USING_STD(fstream);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
+SG_USING_STD(ios);
 SG_USING_STD(string);
+#endif
 
 
 string axes_humannames[8] = { "elevator", "ailerons", "rudder", "throttle",