expected identifier before numeric constant

症状:

expected identifier before numeric constant
expected `}' before numeric constant
expected unqualified-id before numeric constant
expected declaration before ‘}’ token

原因: 枚举类型 或者 里面的变量跟别人冲突了,eg 原来的定义是enum truncScoreType {32Dim,64Dim} sType;

解决办法:

enum truncScoreType {32Dim_myType,64Dim_myType} sType;

posted @ 2016-03-16 15:10  *桔子*  阅读(5580)  评论(0编辑  收藏  举报