dsimcha wrote:
> It has bitten me several times when I have a named enum type next
> to an integer type or something that an integer can be implicitly converted to
> in a function param list:
>
> enum MyEnum {
> FOO,
> BAR
> }
Try...
typedef int _MyEnum;
enum MyEnum : _MyEnum
{
FOO,
BAR
}