Re: [Flightgear-devel] MSVC Still not Building

2002-04-09 Thread Bernie Bright
To avoid this problem in future, maybe we should define a macro in . Something like: #ifdef SG_NO_INCLASS_MEMBER_INITIALIZATION # define SG_STATIC_CONSTANT(type, assignment) enum { assignment } #else # define SG_STATIC_CONSTANT(type, assignment) static const type assignment #endif Usage then be

RE: [Flightgear-devel] MSVC Still not Building

2002-04-08 Thread Norman Vine
Jonathan Polley  writes:  Although SimGear is now building under MSVC (thanks).MSVC also does not like having constants defined in a class (net_fdm.hxx and raw_ctrls.hxx).static const int FG_MAX_ENGINES = 4;static const int FG_MAX_WHEELS = 3;static const int FG_MAX_TANKS = 2;When I

RE: [Flightgear-devel] MSVC Still not Building

2002-04-08 Thread Curtis L. Olson
ED] > Subject: [Flightgear-devel] MSVC Still not Building > > > Although SimGear is now building under MSVC (thanks). > > MSVC also does not like having constants defined in a class (net_fdm.hxx > and raw_ctrls.hxx). > > static const int FG_MAX_ENGINES = 4; &

RE: [Flightgear-devel] MSVC Still not Building

2002-04-08 Thread Jon Berndt
These items should not be limited, anyhow. Where is this done??? -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan PolleySent: Monday, April 08, 2002 9:24 PMTo: [EMAIL PROTECTED]Subject: [Flightgear-devel] MSVC Still not Building

[Flightgear-devel] MSVC Still not Building

2002-04-08 Thread Jonathan Polley
Although SimGear is now building under MSVC (thanks). MSVC also does not like having constants defined in a class (net_fdm.hxx and raw_ctrls.hxx). static const int FG_MAX_ENGINES = 4; static const int FG_MAX_WHEELS = 3; static const int FG_MAX_TANKS = 2; When I used the recommended, and I apolog