From: "Curtis L. Olson" : > Frederic Bouvier writes: > > From: "Curtis L. Olson" : > > > I'm running gcc-2.95.4. In the latest cvs, the compile bombs here: > > > > > > make[3]: Entering directory > > `/home/curt/projects/FlightGear-0.9/FlightGear/src/Cockpit' > > > source='cockpit.cxx' object='cockpit.o' libtool=no \ > > > depfile='.deps/cockpit.Po' tmpdepfile='.deps/cockpit.TPo' \ > > > depmode=gcc /bin/sh ../../depcomp \ > > > > > + -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X > > 11R6/include -Wall -O2 -D_REENTRANT -c -o cockpit.o `test -f cockpit.cxx || > > echo './'`cockpit.cxx > > > In file included from cockpit.cxx:55: > > > hud.hxx: In method `void fgLineList::draw()': > > > hud.hxx:380: implicit declaration of function `int for_each(...)' > > > make[3]: *** [cockpit.o] Error 1 > > > > > > I'm flying out to Los Angeles this coming week and I *really* need to > > > have a working cvs build before I go!!!! Am I the only one that is > > > seeing this problem?!? > > > > Do you need SG_USING_STD( for_each ) ? > > It looks like what I really needed was #include <algorithm>
Now that I have updated CVS, I see the same thing with MSVC -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
