From 706db8548646f1859c698cd8efe2a57dd0798cdb Mon Sep 17 00:00:00 2001 From: curt Date: Tue, 3 Jul 2001 22:39:16 +0000 Subject: [PATCH] gcc-3.0 fixes. --- src/Airports/genrunways.cxx | 13 +++++++++++++ src/Airports/gensimple.cxx | 9 +++++++++ src/Input/fgjs.cxx | 6 ++++++ 3 files changed, 28 insertions(+) diff --git a/src/Airports/genrunways.cxx b/src/Airports/genrunways.cxx index d81f7474c..869e9bb64 100644 --- a/src/Airports/genrunways.cxx +++ b/src/Airports/genrunways.cxx @@ -1,11 +1,24 @@ // dump out a gdbm version of the simple airport file +#include + +#include STL_IOSTREAM + +#include + #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] ); diff --git a/src/Airports/gensimple.cxx b/src/Airports/gensimple.cxx index db67d61f6..29db04eb3 100644 --- a/src/Airports/gensimple.cxx +++ b/src/Airports/gensimple.cxx @@ -1,9 +1,18 @@ // dump out a gdbm version of the simple airport file +#include + +#include STL_IOSTREAM + #include #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; diff --git a/src/Input/fgjs.cxx b/src/Input/fgjs.cxx index 59ea34a9b..80cfc97ad 100644 --- a/src/Input/fgjs.cxx +++ b/src/Input/fgjs.cxx @@ -28,7 +28,13 @@ #include +#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",