David,

I'm getting a compile error in model.cxx with the latest cvs.  There
appears to be a mismatch between model.hxx and model.cxx.  Perhaps you
missed commiting changes in one or the other of these?  Here is the
error I'm seeing (gcc version 2.95.4 Debian):

c++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src
-I/usr/local/include -I/usr/X11R6/include
-DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 -c -o model.o `test
-f model.cxx || echo './'`model.cxx
model.cxx: In method `void FGAircraftModel::init()':
model.cxx:108: no matching function for call to
`FGAircraftModel::read_animation (FGAircraftModel::Animation &, const
char *, SGPropertyNode *&)'
model.hxx:62: candidates are: struct FGAircraftModel::Animation
FGAircraftModel::read_animation(const string &, const SGPropertyNode
*)
model.cxx: At top level:
model.cxx:235: prototype for `void
FGAircraftModel::read_animation(FGAircraftModel::Animation &, const
string &, const SGPropertyNode *)' does not match any in class
`FGAircraftModel'
model.hxx:62: candidate is: struct FGAircraftModel::Animation
FGAircraftModel::read_animation(const string &, const SGPropertyNode
*)
model.cxx:341: definition of implicitly-declared
`FGAircraftModel::Animation::Animation()'
model.cxx:341: redefinition of
`FGAircraftModel::Animation::Animation()'
model.hxx:59: `FGAircraftModel::Animation::Animation()' previously
defined here
model.cxx:356: definition of implicitly-declared
`FGAircraftModel::Animation::~Animation()'
model.cxx:356: redefinition of
`FGAircraftModel::Animation::~Animation()'
model.hxx:59: `FGAircraftModel::Animation::~Animation()' previously
defined here
make[2]: *** [model.o] Error 1
make[2]: Leaving directory
`/home/curt/projects/FlightGear-0.7/FlightGear/src/Main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/curt/projects/FlightGear-0.7/FlightGear/src'
make: *** [all-recursive] Error 1

Thanks,

Curt.
-- 
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

Reply via email to