RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Tony Peden
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.

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Bernie Bright
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,

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Jon Berndt
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Tony Peden
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Jonathan Polley
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.

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-25 Thread Jon Berndt
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Bernie Bright
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

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Jon Berndt
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)

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Tony Peden
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:

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread David Megginson
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]

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Jonathan Polley
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

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Jon Berndt
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

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Norman Vine
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Bernie Bright
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Bernie Bright
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

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Jon Berndt
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

RE: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-24 Thread Tony Peden
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:

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-21 Thread Erik Hofman
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

Re: [Flightgear-devel] Problems Building JSBSim using MSVC 6.0

2002-03-21 Thread Jonathan Polley
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