自己开发中遇到了这个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 name

When 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 

 

相关文章:

  • 2021-11-19
  • 2022-12-23
  • 2021-12-13
  • 2022-02-03
  • 2022-01-29
  • 2021-09-23
  • 2021-07-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
相关资源
相似解决方案