1
0
Fork 0

gcc-3.0 fixes.

This commit is contained in:
curt 2001-07-03 22:39:16 +00:00
parent db40b8c48b
commit 706db85486
3 changed files with 28 additions and 0 deletions

View 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] );

View 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;

View file

@ -28,7 +28,13 @@
#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",