warning:nonstandard extension used enum
自己开发中遇到了这个warning。到MSDN一搜,原来是这样。http://msdn.microsoft.com/en-us/library/ms173704.aspx
Compiler Warning (level 1) C4482
Error Message
nonstandard extension used: enum 'enum' used in qualified nameWhen you refer to an enum inside a type, you do not need to specify the name of the enum.
例如:
enum typelists{a,b}
int i = a;//OK
int j = typelists::b;//warning