On Mon, 2002-03-25 at 15:43, Bernie Bright wrote:
> Tony Peden wrote:
> >
> > It's unfortunate but I think we're going to have to incorporate this
> > cast.
> >
> > However, I do think we could clean it up a bit with a pre-processor
> > define:
> > #define AEROINTFUNC double (FGAerodynamics::*)(int) const
> > then
> > PropertyManager->Tie("forces/fbx-aero-lbs", this,1,
> > (AEROINTFUNC)&FGAerodynamics::GetForces);
> >
> > Hopefully, its still clear that that is a cast.
> >
> > Assuming Jon does not object, I will accept patches that look like the
> > above.
>
> Okay, I'll make the changes to the current JSBSim cvs snapshot (not the
> one in FlightGear) and send you the patches. However I might try a
> typedef instead of a macro.
Bernie, Johnathan: have you had similar difficulties compiling
src/Controls/controls.cxx?
(it also ties indexed object methods)
>
> Cheers,
> Bernie
>
> _______________________________________________
> Flightgear-devel mailing list
> [EMAIL PROTECTED]
> http://mail.flightgear.org/mailman/listinfo/flightgear-devel
--
Tony Peden
[EMAIL PROTECTED]
We all know Linux is great ... it does infinite loops in 5 seconds.
-- attributed to Linus Torvalds
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel