标签:
症状:
expected identifier before numeric constantexpected `}‘ before numeric constantexpected unqualified-id before numeric constantexpected declaration before ‘}’ token
原因: 枚举类型 或者 里面的变量跟别人冲突了,eg 原来的定义是enum truncScoreType {32Dim,64Dim} sType;
解决办法:
enum truncScoreType {32Dim_myType,64Dim_myType} sType;
expected identifier before numeric constant
原文地址:http://www.cnblogs.com/julie-yang/p/5283659.html