Erik Hofman wrote:
> 
> David Megginson wrote:
> > Update of /var/cvs/FlightGear-0.7/FlightGear/src/Navaids
> > In directory seneca:/tmp/cvs-serv23071/src/Navaids
> >
> > Modified Files:
> >       fix.hxx ils.hxx nav.hxx
> > Log Message:
> > Mac OS X patches from Jonathan Polley.
> 
> > *** 37,41 ****
> >   #elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
> >   #  include <iostream.h>
> > ! #elif defined( __BORLANDC__ )
> >   #  include <iostream>
> >   #else
> > --- 37,41 ----
> >   #elif defined( SG_HAVE_NATIVE_SGI_COMPILERS )
> >   #  include <iostream.h>
> > ! #elif defined( __BORLANDC__ ) || (__APPLE__)
> >   #  include <iostream>
> >   #else
> 
> I think we should make more use of the STL_* header definitons in
> simgear/compiler.h
> 
> that would make these lines:
> 
> #include STL_IOSTREAM
> 

Here! Here!

Technically only <istream> is needed but since a lot of older compilers
don't have it I can live with Erik's solution.  Another solution would
be to provide our own <istream> that pulls in a suitable header.  Same
goes for other missing Std C++ headers.  It might help to reduce
preprocessor "noise".

Erik, I was thinking we could use Boost's compatability library I sent
you as a starting point.

Cheers,
Bernie

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to