Making all in Aircraft
make[2]: Entering directory `/home/jmt/FGFS/FlightGear/src/Aircraft'
source='aircraft.cxx' object='aircraft.o' libtool=no \
depfile='.deps/aircraft.Po' tmpdepfile='.deps/aircraft.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X11R6/include -g -O2 -D_REENTRANT -c -o aircraft.o `test -f 'aircraft.cxx' || echo './'`aircraft.cxx
aircraft.cxx: In function `bool fgLoadAircraft(const SGPropertyNode*)':
aircraft.cxx:143: `bool fgLoadAircraft(const SGPropertyNode*)' was declared
`extern' and later `static'
aircraft.hxx:62: previous declaration of `bool fgLoadAircraft(const
SGPropertyNode*)'
make[2]: *** [aircraft.o] Error 1
OS is Suse 8.1, gcc version 3.2.
I don't get why aircraft.cxx defines fgLoadAircraft as a static inline, since both of these seem wrong; it's a large function to inline (and not called frequently, I assume), and it's been declared in a public header file.
H&H James
-- You whine like a mule. You are still alive!
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
