Is defining the data type of an enumeration "non-standard"? (non-standard is probably a ambiguous term, but I'm sure you know what I'm asking)
Example:
I just find it unusual that when I compile with Warning level set to maximum [using VC 2005] that it fires off the warning:Code:enum foo:short{foo1, foo2};
The warning of "non-standard extension" raises my eyebrow. Should I not be trying to define the type of my enum? [My Google searches didn't turn up much]warning C4480: nonstandard extension used: specifying underlying type for enum 'Test'
The following definition of enum is taking directly off of MSDN:
enum [tag] [: type] {enum-list} [declarator]; // for definition of enumerated type