John Check wrote: > > Latest CVS build dies with following error > > make[4]: Entering directory > `/home/j4strngs/Repository/FlightGear/src/FDM/JSBSim' > c++ -DFGFS -I../../.. -I../../../src -I/usr/local/include > -I/usr/X11R6/include -g -O2 -c FGTable.cpp > FGTable.cpp: In method `void FGTable::Print()': > FGTable.cpp:228: `ios_base' undeclared (first use this function) > FGTable.cpp:228: (Each undeclared identifier is reported only once > FGTable.cpp:228: for each function it appears in.) > FGTable.cpp:228: parse error before `::' > make[4]: *** [FGTable.o] Error 1 >
g++ 2.95.x lacks the Standard's ios_base class. One messy work around is demonstrated in simgear/misc/zfstream.hxx. FWIW I've been working on an alternative solution using namespaces that is much cleaner. It compiles with gcc 2.95.x and 3.0.x, Intel C++ and MSVC6. Another alternative is that the offending code can be rewritten slightly more portably using cout.flags() and/or cout.unsetf() though I haven't fully investigated this. Cheers, Bernie _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel