David,
As for the STL headers, use these instead:
#include STL_IOSTREAM
#include STL_IOMANIP
There are actually many files that are not using these variables from
simgear/compiler.h. It looks like the ATC code and JSBSim are handling
this on their own instead of letting Simgear do it (though JSBSim is
"special" ;-).
* [EMAIL PROTECTED] (Jim Wilson) [2003.11.25 21:05]:
> David,
>
> There's a sprintf in Rotor.cpp and compilation is failing with the
> stdio.h include removed.
>
> Best,
>
> Jim
>
> David Megginson <[EMAIL PROTECTED]> said:
> > Index: Rotor.cpp
> > ===
> > RCS file: /var/cvs/FlightGear-0.9/source/src/FDM/YASim/Rotor.cpp,v
> > retrieving revision 1.3
> > retrieving revision 1.4
> > diff -C2 -r1.3 -r1.4
> > *** Rotor.cpp 19 Oct 2003 09:27:27 - 1.3
> > --- Rotor.cpp 25 Nov 2003 18:50:47 - 1.4
> > ***
> > *** 1,2
> > --- 1,4
> > + #include
> > +
> > #include "Math.hpp"
> > #include "Surface.hpp"
> > ***
> > *** 4,8
> > #include "Rotorblade.hpp"
> > #include "Rotor.hpp"
> > ! #include
> > //#include
> > namespace yasim {
> > --- 6,14
> > #include "Rotorblade.hpp"
> > #include "Rotor.hpp"
> > ! #include
> > ! #include
> > !
--
Cameron Moore
/ I was once walking through the forest alone. A tree \
\ fell right in front of me -- and I didn't hear it. /
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel