Re: [Flightgear-devel] OT: Simgear and SGFile usage in FGFS

2005-09-24 Thread Curtis L. Olson

Alex Perry wrote:


Unless I'm missing something, someone has committed bad code to CVS.
The ch variable on line 377 is of class SGIOChannel, which doesn't
support the eof() method, and not of class SGFILE, which does.


~/fs/source/utils/GPSsmooth$ make
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../../src  -I/usr/X11R6/include 
-I/usr/local//include  -g -O2 -D_REENTRANT -MT MIDG-II.o -MD -MP -MF 
.deps/MIDG-II.Tpo -c -o MIDG-II.o MIDG-II.cxx; \
then mv -f .deps/MIDG-II.Tpo .deps/MIDG-II.Po; else rm -f 
.deps/MIDG-II.Tpo; exit 1; fi
MIDG-II.cxx: In member function `int MIDGTrack::next_message(SGIOChannel*, 
  MIDGpos*, MIDGatt*)':

MIDG-II.cxx:377: error: `eof' undeclared (first use this function)
MIDG-II.cxx:377: error: (Each undeclared identifier is reported only once for 
  each function it appears in.)

make: *** [MIDG-II.o] Error 1



Yup, missed a commit.  Should be in cvs now.

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] OT: Simgear and SGFile usage in FGFS

2005-09-23 Thread Alex Perry
Unless I'm missing something, someone has committed bad code to CVS.
The ch variable on line 377 is of class SGIOChannel, which doesn't
support the eof() method, and not of class SGFILE, which does.


~/fs/source/utils/GPSsmooth$ make
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../../src  
-I/usr/X11R6/include -I/usr/local//include  -g -O2 -D_REENTRANT -MT MIDG-II.o 
-MD -MP -MF .deps/MIDG-II.Tpo -c -o MIDG-II.o MIDG-II.cxx; \
then mv -f .deps/MIDG-II.Tpo .deps/MIDG-II.Po; else rm -f 
.deps/MIDG-II.Tpo; exit 1; fi
MIDG-II.cxx: In member function `int MIDGTrack::next_message(SGIOChannel*, 
   MIDGpos*, MIDGatt*)':
MIDG-II.cxx:377: error: `eof' undeclared (first use this function)
MIDG-II.cxx:377: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make: *** [MIDG-II.o] Error 1



___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d