On Sun, 2002-03-24 at 11:28, Jon Berndt wrote:
Adding an ugly cast fixes the problem:
PropertyManager-Tie(forces/fbx-aero-lbs, this,1,
(double (FGAerodynamics::*)(int) const) FGAerodynamics::GetForces);
I'll roll that change into my copy until it gets made permanently.
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,
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.
I'm not quite ready to not object. Give
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
Tony,
Oddly enough, src/Controls/controls.cxx compiles just fine.
Jonathan Polley
On Monday, March 25, 2002, at 09:08 PM, Tony Peden wrote:
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.
Behalf Of Norman VineSent:
Sunday, March 24, 2002 10:55 PMTo:
[EMAIL PROTECTED]Subject: RE: [Flightgear-devel]
Problems Building JSBSim using MSVC 6.0
FGFilter.cpp: In method `void
FGFilter::Debug(int)':FGFilter.cpp:224: warning: use proper
indentationFGFilter.cpp:224: warning: you
Jonathan Polley wrote:
On Thursday, March 21, 2002, at 03:37 AM, Erik Hofman wrote:
Jonathan Polley wrote:
After getting SimGear to build under MSVC 6.0 (thanks Christian), I moved
on to getting all of FlightGear to build. For some reason, MSVC does not like JSBSim
(over
Compiling...
FGAerodynamics.cpp
c:\src\flightgear\src\fdm\jsbsim\fgaerodynamics.cpp(229) : error C2661:
'Tie' : no overloaded function takes 4 parameters
Adding an ugly cast fixes the problem:
PropertyManager-Tie(forces/fbx-aero-lbs, this,1,
(double (FGAerodynamics::*)(int) const)
On Sun, 2002-03-24 at 06:43, Jon Berndt wrote:
Compiling...
FGAerodynamics.cpp
c:\src\flightgear\src\fdm\jsbsim\fgaerodynamics.cpp(229) : error C2661:
'Tie' : no overloaded function takes 4 parameters
Adding an ugly cast fixes the problem:
Jon Berndt writes:
Are we doing something unusual, or is MSVC requiring something it
shouldn't?
The latter, I think, since the pointer type can be determined
unambiguously from the method signature.
All the best,
David
--
David Megginson
[EMAIL PROTECTED]
On Sunday, March 24, 2002, at 04:18 AM, Bernie Bright wrote:
Jonathan Polley wrote:
On Thursday, March 21, 2002, at 03:37 AM, Erik Hofman wrote:
Jonathan Polley wrote:
After getting SimGear to build under MSVC 6.0 (thanks
Christian), I moved on to getting all of
Adding an ugly cast fixes the problem:
PropertyManager-Tie(forces/fbx-aero-lbs, this,1,
(double (FGAerodynamics::*)(int) const) FGAerodynamics::GetForces);
I'll roll that change into my copy until it gets made permanently. While
We'll do a little investigating, first. I want to
Jon Berndt writes:
Adding an ugly cast fixes the problem:
PropertyManager-Tie(forces/fbx-aero-lbs, this,1,
(double (FGAerodynamics::*)(int) const)
FGAerodynamics::GetForces);
I'll roll that change into my copy until it gets made
permanently. While
We'll do a little
Jon Berndt wrote:
Adding an ugly cast fixes the problem:
PropertyManager-Tie(forces/fbx-aero-lbs, this,1,
(double (FGAerodynamics::*)(int) const) FGAerodynamics::GetForces);
I'll roll that change into my copy until it gets made permanently. While
We'll do a little
Norman Vine wrote:
Jon, I don't think there is a 'conforming' compiler yet, and MSVC6 is
several years
old and I wonder how well the then current gnu stdlib++ would have handled
that
construct :-))
I believe Comeau is 99.9% conforming but it is not free. I also believe
that MSVC7 is
from: [EMAIL PROTECTED]
You aren't at Flight Dynamics division, are you?
error. Does specifying '--pedantic' on the gcc command line cause any
other warnings?
Jonathan Polley
If I try using the --pedantic option I get this:
--- start --
g++ -I../ --pedantic -Wall
On Sun, 2002-03-24 at 18:09, Jon Berndt wrote:
from: [EMAIL PROTECTED]
You aren't at Flight Dynamics division, are you?
error. Does specifying '--pedantic' on the gcc command line cause any
other warnings?
Jonathan Polley
If I try using the --pedantic option I get this:
Jonathan Polley wrote:
After getting SimGear to build under MSVC 6.0 (thanks Christian), I
moved on to getting all of FlightGear to build. For some reason, MSVC
does not like JSBSim (over 1200 errors generated) but I had no problem
under RH 7.1 (as usual). I expect that everything is a
On Thursday, March 21, 2002, at 03:37 AM, Erik Hofman wrote:
Jonathan Polley wrote:
After getting SimGear to build under MSVC 6.0 (thanks Christian), I moved on to getting all of FlightGear to build. For some reason, MSVC does not like JSBSim (over 1200 errors generated) but I had no problem
19 matches
Mail list logo