I think MSVC reports the same errors. I really shouldn't be using cout here, it's just easier/quicker when hacking on the code. I'll fix that up.
Curt. Simon Fowler writes: > This is a strange one - as far as I can tell, it shouldn't be a > problem, but it is . . . > > ----------------------------------------- > g++-3.2 -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src >-I/usr/XF86-main/include -I/usr/X11R6/include -Wall -g -O2 -finline-limit-6 >-finline-functions -c -o electrical.o `test -f electrical.cxx || echo >'./'`electrical.cxx > electrical.cxx: In member function `double FGElectricalSupplier::get_output()': > electrical.cxx:89: `cout' undeclared (first use this function) > electrical.cxx:89: (Each undeclared identifier is reported only once for each > function it appears in.) > ----------------------------------------- > > I've tried adding #include <iostream> to the file, and > #include STL_IOSTREAM (as is done elsewhere in the tree), but the > same thing happens. > > I'm seeing this with Debian's g++-3.2 and with my g++ CVS snapshots, > but not with the default g++-2.95.4 . . . > > Simon > > -- > PGP public key Id 0x144A991C, or ftp://bg77.anu.edu.au/pub/himi/himi.asc > (crappy) Homepage: http://bg77.anu.edu.au > doe #237 (see http://www.lemuria.org/DeCSS) > My DeCSS mirror: ftp://bg77.anu.edu.au/pub/mirrors/css/ -- Curtis Olson IVLab / HumanFIRST Program FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel