typedef int* (data); typedef int* (data); cl.exe reports on the 2nd typedef: error C2059: syntax error: '<parameter-list>' However, if the parenthesis is removed, the code can be compiled successfully: typedef int* data; typedef int* data; ...
24、error C2058: constant expression is not integral 中文对照:(编译错误)常量表达式不是整数 分析:一般是定义数组时数组长度不是整型常量 25、error C2059: syntax error : 'xxx' 中文对照:(编译错误)‘xxx’语法错误 分析:引起错误的原因很多,可能多加或少加了符号xxx 26、error C2064: term does not ev...
26 error C2064: term does not evaluate to a function 中文对照:(编译错误)无法识别函数语言 分析:1、函数参数有误,表达式可能不正确,例如“sqrt(s(s-a)(s-b)(s-c));”中表达式不正确 2、变量与函数重名或该标识符不是函数,例如“int i,j; j=i();”中i不是函数 27 error C2065: 'xxx' : u...
ErrorC2058:constantexpressionisnotintegral(常量表达式不是整型) errorC2059:syntaxerror:';'(与';'有关的语法错误) 此时不仅要检查在错误信息中列出的行,还要检查该行上面的行,以找到错误的原因。 errorC2063:'XXX':notafunction('XXX'未声明为函数) ...
error C2010: 'character' : unexpected in macro formal parameter list 中文对照:(编译错误)带参宏的形式参数表中出现未知字符 分析:例如“#define s(r|) r*r”中参数多了一个字符‘|’ error C2014: preprocessor command must start as first nonwhite space ...