Curtis L. Olson wrote:
Eric,

With the latest CVS changes I getting a compile error:

Making all in Main
make[2]: Entering directory `/home/curt/projects/FlightGear-0.9/source/src/Main'
source='globals.cxx' object='globals.o' libtool=no \
depfile='.deps/globals.Po' tmpdepfile='.deps/globals.TPo' \
depmode=gcc3 /bin/sh ../../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src -I/usr/X11R6/include -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -Wall -O2 -D_REENTRANT -c -o globals.o `test -f globals.cxx || echo './'`globals.cxx
/usr/local/include/simgear/structure/callback.hxx: In member function `void SGFunctionCallback<Fun>::operator()() [with Fun = SGSubsystem*]':
fg_io.hxx:60: instantiated from here
/usr/local/include/simgear/structure/callback.hxx:76: error: call to non-function `SGFunctionCallback<SGSubsystem*>::f_'
make[2]: *** [globals.o] Error 1


Any ideas?

It looks like tge compiler is mizing up two function calls with different parameters because one is defined with the template.


I'll see if I can fix this.

Erik


_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to