gcc-3.0 fixes.
This commit is contained in:
parent
db40b8c48b
commit
706db85486
3 changed files with 28 additions and 0 deletions
|
@ -1,11 +1,24 @@
|
||||||
// dump out a gdbm version of the simple airport file
|
// 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"
|
#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 ) {
|
int main( int argc, char **argv ) {
|
||||||
FGRunwaysUtil runways;
|
FGRunwaysUtil runways;
|
||||||
FGRunway r;
|
FGRunway r;
|
||||||
|
|
||||||
|
sglog().setLogLevels( SG_ALL, SG_INFO );
|
||||||
|
|
||||||
if ( argc == 3 ) {
|
if ( argc == 3 ) {
|
||||||
runways.load( argv[1] );
|
runways.load( argv[1] );
|
||||||
runways.dump_mk4( argv[2] );
|
runways.dump_mk4( argv[2] );
|
||||||
|
|
|
@ -1,9 +1,18 @@
|
||||||
// dump out a gdbm version of the simple airport file
|
// dump out a gdbm version of the simple airport file
|
||||||
|
|
||||||
|
#include <simgear/compiler.h>
|
||||||
|
|
||||||
|
#include STL_IOSTREAM
|
||||||
|
|
||||||
#include <simgear/debug/logstream.hxx>
|
#include <simgear/debug/logstream.hxx>
|
||||||
|
|
||||||
#include "simple.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 ) {
|
int main( int argc, char **argv ) {
|
||||||
FGAirportsUtil airports;
|
FGAirportsUtil airports;
|
||||||
FGAirport a;
|
FGAirport a;
|
||||||
|
|
|
@ -28,7 +28,13 @@
|
||||||
|
|
||||||
#include <jsinput.h>
|
#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);
|
SG_USING_STD(string);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
string axes_humannames[8] = { "elevator", "ailerons", "rudder", "throttle",
|
string axes_humannames[8] = { "elevator", "ailerons", "rudder", "throttle",
|
||||||
|
|
Loading…
Add table
Reference in a new issue