Quote:
Originally Posted by Powerlord
When you do name an enum, you'll get a tag mismatch if you try using it where you'd normally use an int.
|
No, you get a tag mismatch warning (not an error, unless you -E) almost whenever you try to use a tag starting with an uppercase letter as anything else.
Indexing an array is not one of the things that will warn, though.
Not naming the enum means it doesn't start with an uppercase letter, but of course using a lowercase letter to start the name is an alternative.