This patch is required to compile ATCutils.cxx (there is a mix between
old and new iostreams ) :

cvs -z3 -q diff ATCutils.cxx (in directory
D:\FlightGear\cvs\FlightGear\src\ATC\)
Index: ATCutils.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/ATC/ATCutils.cxx,v
retrieving revision 1.2
diff -r1.2 ATCutils.cxx
25c25
< #include <iomanip.h>
---
> #include <iomanip>


Cheers,

-Fred


----- Original Message -----
From: "William Oldenburg" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 06, 2002 9:17 AM
Subject: [Flightgear-devel] MSVC6.0 Redefinition Problem


>
>
> I'm currently having a problem compileing with MSVC6.  It seems some of
the
> M$ headers are redifining each other. Here's the error I get:
>
> ATCutils.cxx
> c:\program files\microsoft visual studio\vc98\include\ios.h(104) : error
> C2371: 'ostream' : redefinition; different basic types
>         c:\program files\microsoft visual studio\vc98\include\iosfwd(257)
:
> see declaration of 'ostream'
> c:\program files\microsoft visual studio\vc98\include\istream.h(64) :
error
> C2371: 'istream' : redefinition; different basic types
>         c:\program files\microsoft visual studio\vc98\include\iosfwd(256)
:
> see declaration of 'istream'
>
> Now for the life of me I have never seen this happen.  Any help here would
> be appreciated.
>
> Will
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel


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

Reply via email to