These
items should not be limited, anyhow. Where is this done???
/fontfamily>-----Original Message-----Although SimGear is now building under MSVC (thanks).
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jonathan Polley
Sent: Monday, April 08, 2002 9:24 PM
To: [EMAIL PROTECTED]
Subject: [Flightgear-devel] MSVC Still not Building
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 apologize for not remembering by whom, change to
enum {FG_MAX_TANKS = 2,
FG_MAX_WHEELS = 3,
FG_MAX_ENGINES = 4,
};
it compiles, links, and runs just fine.
Thanks!
Jonathan Polley
Flying Again!
smime.p7s
Description: application/pkcs7-signature
