Jonathan Polley writes:

 > .\src\Input/input.hxx(321) : error C2248: 'MAX_MOUSE_BUTTONS' : cannot 
 > access private enumerator declared in class 'FGInput'
 >          .\src\Input/input.hxx(250) : see declaration of 'MAX_MOUSE_BUTTONS'
 > 
 > Changing the enumeration to a series of #defines solved that problem.

[expletive deleted] The only reason I use enums instead of constants
is to work around earlier MSVC bug reports, since MSVC barfed on
constants.  Using defines for constants or macros in a header file is
out of the question -- on a project this size, they create serious
management problems (i.e. no other class can use a variable, constant,
or method with the same name).

Thanks for looking into these problems.


All the best,


David

-- 
David Megginson
[EMAIL PROTECTED]


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to