March 23, 2020
8:20 p.m.
Hi Chip, I believe the type depends on the default values the enum variables are assigned. As long as the values fit within that type, its acceptable. A default value of -1 would need to be signed for example. Alistair. On 24/3/20 11:53 am, Chip Davis wrote:
Don't some compilers pick 'int' instead of 'unsigned int' for enums?
Chip