作业帮 > 字数作文 > 教育资讯

缺少右括号

来源:学生作业帮助网 编辑:作业帮 时间:2024/09/24 12:24:43 字数作文
缺少右括号字数作文

篇一:C语言常见错误提示

C语言常见错误提示

Ambiguous operators need parentheses 不明确的运算需要括号 Ambiguous symbol ''xxx'' 不明确的符号 Argument list syntax error 参数表语法错误 Array bounds missing 丢失数组界限符 Array size too large 数组尺寸太大

Bad character in parameters 参数中有不适当的字符 Bad file name format in include directive包含命令中文件名格式不正确

Call of non-function 调用未定义的函数

Call to function with no prototype 调用函数时没有函数说明 Cannot modify a const object 不允许修改常量对象 Case outside of switch 漏掉了case 语句 Case syntax error Case 语法错误

Code has no effect 代码不可述(不可能执行到) Compound statement missing{ 分程序漏掉"{" Conflicting type modifiers 不明确的类型说明符 Constant expression required 要求常量表达式

Constant out of range in comparison 在比较中常量超出范围 Conversion may lose significant digits转换时会丢失意义的数Could not find file ''xxx'' 找不到XXX文件 Declaration missing ; 说明缺少";"

Declaration syntax error 说明中出现语法错误

Default outside of switch Default出现在switch语句之外 Define directive needs an identifier define命令需要标识符 Division by zero 用零作除数

Do statement must have while Do语句中需要while部分 Enum syntax error 枚举类型语法错误

Enumeration constant syntax error 枚举常数语法错误 Error directive: xxx 错误的编译预处理命令xxx Error writing output file 写输出文件错误 Expression syntax error 表达式语法错误 Extra parameter in call 调用时出现多余参数 File name too long 文件名太长

Function call missing ) 函数调用缺少右括号 Function definition out of place 函数定义位置错误 Function should return a value 函数必需返回一个值 Hexadecimal or octal constant too large 16进制或8进制常数太大 Illegal character ''x'' 非法字符x

Illegal initialization 非法的初始化 Illegal octal digit 非法的8进制数 Illegal pointer subtraction 非法的指针相减 Illegal structure operation 非法的结构体操作 Illegal use of floating point 非法的浮点运算 Illegal use of pointer 指针使用非法

Improper use of a typedef symbol 类型定义符号使用不恰当 In-line assembly not allowed 不允许使用行间汇编 Incompatible storage class 存储类别不相容 Incompatible type conversion 不相容的类型转换 Incorrect number format 错误的数据格式 Incorrect use of default default使用不当 Invalid indirection 无效的间接运算 Invalid pointer addition 指针相加无效

Irreducible expression tree 无法执行的表达式运算 Lvalue required 需要左值

Macro argument syntax error 宏参数语法错误 Macro expansion too long 宏的扩展以后太长

Mismatched number of parameters in definition定义中参数个数不匹配

Misplaced break 此处不应出现break语句 Misplaced continue 此处不应出现continue语句 Misplaced decimal point 此处不应出现小数点 Misplaced else 此处不应出现else Must be addressable 必须是可以编址的

Must take address of memory location 必须存储定位的地址 No declaration for function ''xxx'' 没有函数xxx的说明 No stack 缺少堆栈

No type information 没有类型信息

Non-portable pointer assignment 不可移动的指针赋值 Non-portable pointer comparison 不可移动的指针比较 Non-portable pointer conversion 不可移动的指针转换 Not a valid expression format type 不合法的表达式格式 Not an allowed type 不允许使用的类型 Numeric constant too large 数值常太大 Out of memory 内存不够用

Parameter ''xxx'' is never used 能数xxx没有用到

Pointer required on left side of -> 符号->的左边必须是指针

Possible use of ''xxx'' before definition 定义之前就使用了xxx Possibly incorrect assignment 赋值可能不正确 Redeclaration of ''xxx'' 重复定义了xxx

Redefinition of ''xxx'' is not identical xxx的两次定义不一致 Register allocation failure 寄存器定址失败

Size of structure or array not known结构体或数组大小不确定 Statement missing ; 语句后缺少

";"

Structure or union syntax error 结构体或联合体语法错误 Structure size too large 结构体尺寸太大 Sub scripting missing ] 下标缺少右方括号

Superfluous & with function or array 函数或数组中有多余的"&"

Suspicious pointer conversion 可疑的指针转换 Symbol limit exceeded 符号超限

Too few parameters in call 函数调用时的实参太少 Too many default cases Default太多(switch语句中一个) Too many error or warning messages 错误或警告信息太多 Too many type in declaration 说明中类型太多

Too much auto memory in function 函数用到局部存储太多 Too much global data defined in file 文件中全局数据太多 Two consecutive dots 两个连续的句点

Type mismatch in parameter xxx 参数xxx类型不匹配 Type mismatch in redeclaration of ''xxx'' xxx重定义的类型不匹配

Unable to create output file ''xxx'' 无法建立输出文件xxx Unable to open include file ''xxx'' 无法打开被包含的文件xxx Unable to open input file ''xxx'' 无法打开输入文件xxx

Undefined label ''xxx'' 没有定义的标号xxx Undefined structure ''xxx'' 没有定义的结构xxx Undefined symbol ''xxx'' 没有定义的符号xxx

Unexpected end of file in comment started on line xxx 从xxx行开始的注释尚未结束文件不能结束

Unexpected end of file in conditional started on line xxx 从xxx 开始的条件语句尚未结束文件不能结束 Unknown assemble instruction 未知的汇编结构 Unknown option 未知的操作

Unknown preprocessor directive: ''xxx'' 不认识的预处理命令

Unreachable code 无路可达的代码

Unterminated string or character constant 字符串缺少引号 User break 用户强行中断了程序

Void functions may not return a value Void类型的函数不应有返回值

Wrong number of arguments 调用函数的参数数目错 ''xxx'' not an argument xxx不是参数

''xxx'' not part of structure xxx不是结构体的一部分 xxx statement missing ( xxx语句缺少左括号 xxx statement missing ) xxx语句缺少右括号 xxx statement missing ; xxx缺少分号

xxx'' declared but never used 说明了xxx但没有使用 xxx'' is assigned a value which is never used 给xxx赋了值但未用过

Zero length structure 结构体的长度为零

参考网址:

百度在线翻译 谷歌在线翻译

篇二:C语言编译常见错误提示

C语言编译常见错误提示

Ambiguous operators need parentheses 不明确的运算需要括号

Ambiguous symbol ''xxx'' 不明确的符号 Argument list syntax error 参数表语法错误 Array bounds missing 丢失数组界限符 Array size too large 数组尺寸太大

Bad character in parameters 参数中有不适当的字符 Bad file name format in include directive 包含命令中文件名格式不正确

Call of non-function 调用未定义的函数

Call to function with no prototype 调用函数时没有函数说明 Cannot modify a const object 不允许修改常量对象 Case outside of switch 漏掉了case 语句 Case syntax error Case 语法错误

Code has no effect 代码不可述不可能执行到 Compound statement missing{ 分程序漏掉"{" Conflicting type modifiers 不明确的类型说明符 Constant expression required 要求常量表达式

Constant out of range in comparison 在比较中常量超出范围Conversion may lose significant digits 转换时会丢失意义的数Could not find file ''xxx'' 找不到XXX文件 Declaration missing ; 说明缺少";"

Declaration syntax error 说明中出现语法错误

Default outside of switch Default出现在switch语句之外 Define directive needs an identifier define命令需要标识符 Division by zero 用零作除数

Do statement must have while Do语句中需要while部分 Enum syntax error 枚举类型语法错误

Enumeration constant syntax error 枚举常数语法错误 Error directive: xxx 错误的编译预处理命令xxx Error writing output file 写输出文件错误 Expression syntax error 表达式语法错误 Extra parameter in call 调用时出现多余参数 File name too long 文件名太长

Function call missing ) 函数调用缺少右括号

Function definition out of place 函数定义位置错误 Function should return a value 函数必需返回一个值 Hexadecimal or octal constant too large 16进制或8进制常数太大

Illegal character ''x'' 非法字符x Illegal initialization 非法的初始化 Illegal octal digit 非法的8进制数 Illegal pointer subtraction 非法的指针相减 Illegal structure operation 非法的结构体操作 Illegal use of floating point 非法的浮点运算 Illegal use of pointer 指针使用非法

Improper use of a typedef symbol 类型定义符号使用不恰当 In-line assembly not allowed 不允许使用行间汇编 Incompatible storage class 存储类别不相容 Incompatible type conversion 不相容的类型转换 Incorrect number format 错误的数据格式 Incorrect use of default default使用不当 Invalid indirection 无效的间接运算 Invalid pointer addition 指针相加无效

Irreducible expression tree 无法执行的表达式运算 Lvalue required 需要左值

Macro argument syntax error 宏参数语法错误 Macro expansion too long 宏的扩展以后太长

Mismatched number of parameters in definition 定义中参数个数不匹配

Misplaced break 此处不应出现break语句 Misplaced continue 此处不应出现continue语句 Misplaced decimal point 此处不应出现小数点 Misplaced else 此处不应出现else Must be addressable 必须是可以编址的

Must take address of memory location 必须存储定位的地址 No declaration for function ''xxx'' 没有函数xxx的说明 No stack 缺少堆栈

No type information 没有类型信息

Non-portable pointer assignment 不可移动的指针赋值

Non-portable pointer comparison 不可移动的指针比较 Non-portable pointer conversion 不可移动的指针转换 Not a valid expression format type 不合法的表达式格式 Not an allowed type 不允许使用的类型 Numeric constant too large 数值常太大 Out of memory 内存不够用

Parameter ''xxx'' is never used 能数xxx没有用到

Pointer required on left side of -> 符号->的左边必须是指针 Possible use of ''xxx'' before definition 定义之前就使用了xxx Possibly incorrect assignment 赋值可能不正确 Redeclaration of ''xxx'' 重复定义了xxx

Redefinition of ''xxx'' is not identical xxx的两次定义不一致 Register allocation failure 寄存器定址失败

Size of structure or array not known 结构体或数组大小不确定 Statement missing ; 语句后缺少";"

Structure or union syntax error 结构体或联合体语法错误 Structure size too large 结构体尺寸太大 Sub scripting missing ] 下标缺少右方括号

Superfluous & with function or array 函数或数组中有多余的"&"

Suspicious pointer conversion 可疑的指针转换 Symbol limit exceeded 符号超限

Too few parameters in call 函数调用时的实参太少 Too many default cases Default太多(switch语句中一个) Too many error or warning messages 错误或警告信息太多 Too many type in declaration 说明中类型太多

Too much auto memory in function 函数用到局部存储太多 Too much global data defined in file 文件中全局数据太多 Two consecutive dots 两个连续的句点

Type mismatch in parameter xxx 参数xxx类型不匹配

Type mismatch in redeclaration of ''xxx'' xxx重定义的类型不匹配

Unable to create output file ''xxx'' 无法建立输出文件xxx Unable to open include file ''xxx'' 无法打开被包含的文件xxx Unable to open input file ''xxx'' 无法打开输入文件xxx Undefined label ''xxx'' 没有定义的标号xxx Undefined structure ''xxx'' 没有定义的结构xxx Undefined symbol ''xxx'' 没有定义的符号xxx

Unexpected end of file in comment started on line xxx 从xxx行开始的注释尚未结束文件不能结束

Unexpected end of file in conditional started on line xxx 从xxx 开始的条件语句尚未结束文件不能结束 Unknown assemble instruction 未知的汇编结构 Unknown option 未知的操作

Unknown preprocessor directive: ''xxx'' 不认识的预处理命令 Unreachable code 无路可达的代码

Unterminated string or character constant 字符串缺少引号 User break 用户强行中断了程序

Void functions may not return a value Void类型的函数不应有返回值

Wrong number of arguments 调用函数的参数数目错 ''xxx'' not an argument xxx不是参数

''xxx'' not part of structure xxx不是结构体的一部分 xxx statement missing ( xxx语句缺少左括号 xxx statement missing ) xxx语句缺少右括号 xxx statement missing ; xxx缺少分号

xxx'' declared but never used 说明了xxx但没有使用 xxx'' is assigned a value which is never used 给xxx赋了值但未用过

Zero length structure 结构体的长度为零

参考网址:

百度在线翻译 谷歌在线翻译

C语言错误提示常用词(完善中…)

英文

addition address ambiguous argument array assign bit bound call character command comment const, constant conversion create decimal decimal point declare, declaration digit directive division dot duplicate enum,enumeration execute expression extra file format function hexadecimal identifier illegal improper incompatible

中文

加法 地址

不明确的,有歧义的 参数 数组 分配

(二进制的)位 (数组的)边界 调用(函数) 字符 命令 注释 常量 转换

建立(文件等) 十进制的 小数点 声明 数字 指令 除法 点 不唯一的 枚举

执行(命令,程序) 表达式 多余的 文件 格式 函数 十六进制 标识符 非法的 不恰当的 不相容的

英文

incorrect

initialization, initializer input invalid line list lvalue macro memory mismatched misplaced missing modify name object octal

operation,operate out of range output parameter

parenthesis,parentheses pointer requires statement structure subscripting subtraction symbol syntax error type undefined unexpected unknown value

中文

不正确的 初始化 输入 无效的 行 列表

左值(可置于赋值号左边的数据,如变量) 宏 内存 不匹配的 错位的 缺少 修改 名称 对象 八进制 操作 超出范围 输出 参数 圆括号 指针 要求 语句 结构体 下标 减法 符号 语法错误 类型 未定义的 意外的 未知的 值

篇三:c语言常见错误提示

C语言常见错误提示(英汉对照)

Turbo C 2.0编译错误信息详解

Turbo C编译程序检查源程序中三类出错信息:致命错误、一般错误、警告。 致命错误:通常是内部编译错误。发生致命错误时,编译立即停止,必须采取一些适当的措施并重新编译。

一般错误:指程序的语法错误、磁盘或内存存取错误或命令错误。

警告:它并不阻止编译进行。它指出一些值得怀疑的情况,而这些情况本身又有可能合理地成为源程序的一部分。

注意:编译程序指产生被检测到的信息,因为C并不限定在正文的某行放一条语句,这样,真正产生错误的行可能在编译指出的前一行或几行。

Ambiguous operators need parentheses 不明确的运算需要用括号括起 Ambiguous symbol “xxx” 不明确的符号

Argument list syntax error 参数表语法错误

Array bounds missing 丢失数组界限符

Array size toolarge 数组尺寸太大

Bad character in paramenters 参数中有不适当的字符

Bad file name format in include directive 包含命令中文件名格式不正确 Bad ifdef directive synatax 编译预处理ifdef有语法错

Bad undef directive syntax 编译预处理undef有语法错

Bit field too large 位字段太长

Call of non-function 调用未定义的函数

Call to function with no prototype 调用函数时没有函数的说明

Cannot modify a const object 不允许修改常量对象

Case outside of switch 漏掉了case 语句

Case syntax error Case 语法错误

Code has no effect 代码不可述不可能执行到

Compound statement missing{ 分程序漏掉"{"

Conflicting type modifiers 不明确的类型说明符

Constant expression required 要求常量表达式

Constant out of range in comparison 在比较中常量超出范围

Conversion may lose significant digits 转换时会丢失意义的数字 Conversion of near pointer not allowed 不允许转换近指针

Could not find file “xxx” 找不到XXX文件

Declaration missing ; 说明缺少";"

Declaration syntax error 说明中出现语法错误

Default outside of switch Default 出现在switch语句之外

Define directive needs an identifier 定义编译预处理需要标识符 Division by zero 用零作除数

Do statement must have while Do-while语句中缺少while部分

Enum syntax error 枚举类型语法错误

Enumeration constant syntax error 枚举常数语法错误

Error directive :xxx 错误的编译预处理命令

Error writing output file 写输出文件错误

Expression syntax error 表达式语法错误

Extra parameter in call 调用时出现多余错误

File name too long 文件名太长

Function call missing ) 函数调用缺少右括号

Fuction definition out of place 函数定义位置错误

Fuction should return a value 函数必需返回一个值

Goto statement missing label Goto语句没有标号

Hexadecimal or octal constant too large

16进制或8进制常数太大

Illegal character “x” 非法字符x

Illegal initialization 非法的初始化

Illegal octal digit 非法的8进制数字

Illegal pointer subtraction 非法的指针相减

Illegal structure operation 非法的结构体操作

Illegal use of floating point 非法的浮点运算

Illegal use of pointer 指针使用非法

Improper use of a typedefsymbol 类型定义符号使用不恰当

In-line assembly not allowed 不允许使用行间汇编

Incompatible storage class 存储类别不相容

Incompatible type conversion 不相容的类型转换

Incorrect number format 错误的数据格式

Incorrect use of default Default使用不当

Invalid indirection 无效的间接运算

Invalid pointer addition 指针相加无效

Irreducible expression tree 无法执行的表达式运算

Lvalue required 需要逻辑值0或非0值

Macro argument syntax error 宏参数语法错误

Macro expansion too long 宏的扩展以后太长

Mismatched number of parameters in definition

定义中参数个数不匹配

Misplaced break 此处不应出现break语句

Misplaced continue 此处不应出现continue语句

Misplaced decimal point 此处不应出现小数点

Misplaced elif directive 不应编译预处理elif

Misplaced else 此处不应出现else

Misplaced else directive 此处不应出现编译预处理else

Misplaced endif directive 此处不应出现编译预处理endif

Must be addressable 必须是可以编址的

Must take address of memory location 必须存储定位的地址

No declaration for function “xxx” 没有函数xxx的说明

No stack 缺少堆栈

No type information 没有类型信息

Non-portable pointer assignment 不可移动的指针(地址常数)赋值 Non-portable pointer comparison 不可移动的指针(地址常数)比较 Non-portable pointer conversion 不可移动的指针(地址常数)转换 Not a valid expression format type 不合法的表达式格式

Not an allowed type 不允许使用的类型

Numeric constant too large 数值常太大

Out of memory 内存不够

Parameter “xxx” is never used 能数xxx没有用到

Pointer required on left side of -> 符号->的左边必须是指针

Possible use of “xxx” before definition

在定义之前就使用了xxx(警告)

Possibly incorrect assignment 赋值可能不正确

Redeclaration of “xxx” 重复定义了xxx

Redefinition of “xxx” is not identical

xxx的两次定义不一致

Register allocation failure 寄存器定址失败

Repeat count needs an lvalue 重复计数需要逻辑值

Size of structure or array not known

结构体或数给大小不确定

Statement missing ; 语句后缺少";"

Structure or union syntax error 结构体或联合体语法错误

Structure size too large 结构体尺寸太大

Sub scripting missing ] 下标缺少右方括号

Superfluous & with function or array

函数或数组中有多余的"&"

Suspicious pointer conversion 可疑的指针转换

Symbol limit exceeded 符号超限

Too few parameters in call 函数调用时的实参少于函数的参数不

Too many default cases Default太多(switch语句中一个)

Too many error or warning messages 错误或警告信息太多

Too many type in declaration 说明中类型太多

Too much auto memory in function 函数用到的局部存储太多

Too much global data defined in file 文件中全局数据太多

Two consecutive dots 两个连续的句点

Type mismatch in parameter xxx 参数xxx类型不匹配

Type mismatch in redeclaration of “xxx”

xxx重定义的类型不匹配

Unable to create output file “xxx” 无法建立输出文件xxx

Unable to open include file “xxx” 无法打开被包含的文件xxx Unable to open input file “XXX” 无法打开输入文件xxx

Undefined label “XXX” 没有定义的标号xxx

Undefined structure “XXX” 没有定义的结构xxx

Undefined symbol “XXX” 没有定义的符号xxx

Unexpected end of file in comment started on line xxx

从xxx行开始的注解尚未结束文件不能结束

Unexpected end of file in conditional started on line xxx

从xxx 开始的条件语句尚未结束文件不能结束

Unknown assemble instruction 未知的汇编结构

Unknown option 未知的操作

Unknown preprocessor directive: “XXX” 不认识的预处理命令xxx Unreachable code 无路可达的代码

Unterminated string or character constant 字符串缺少引号

User break 用户强行中断了程序

Void functions may not return a value

Void类型的函数不应有返回值

Wrong number of arguments 调用函数的参数数目错

“XXX” not an argument xxx不是参数

“XXX” not part of structure xxx不是结构体的一部分

xxx statement missing ( xxx语句缺少左括号

xxx statement missing ) xxx语句缺少右括号

xxx statement missing ; xxx缺少分号

xxx'' declared but never used 说明了xxx但没有使用

xxx'' is assigned a value which is never used

给xxx赋了值但未用过

Zero length structure 结构体的长度为零

运算符与表达式: 5. `parameter 参数 2 条件语句

1.constant 常量 6.static 静态的 condition

2. variable 变量 7.extern 外部的 statement) 选择 select

3. identify 标识符 指针: 表达式 expression

4. keywords 关键字 1. pointer 指针 逻辑表达式 logical expression

5. sign 符号 2. argument 参数 关系表达式 Relational expression

6. operator 运算符 3. array 数组 优先 priority

7. statement语句 4. declaration 声明 运算 operation

8. syntax 语法 5. represent 表示 结构 structure

9. expression 表达式 6. manipulate 处理 3 循环语句

10. initialition 初始化 结构体、共用体、链表 (circle statement) 循环 circle

11. number format 数据格式 1 structure 结构 条件 condition

12 declaration 说明 2 member成员 变量 variant

13. type conversion 类型转换 3 tag 标记 过程 process

14.define 、definition 定义 4 function 函数 优先 priority

条件语句: 5 enumerate 枚举 运算 operation

1.select 选择 6 union 联合(共用体) 4 函数

2. expression 表达式 7 create 创建 (function) 调用 call

3. logical expression 逻辑表达式 8 insert 插入 返回值 return value

4. Relational expression 关系表达式 9 delete 删除 函数 function

5.priority优先 10 modify 修改 声明 declare

6. operation运算 文件 参数 parameter

7.structure 结构 1、file 文件 静态的 static

循环语句: 2、open 打开 外部的 extern

1.circle 循环 3、close 关闭 5 数组和指针(array and

2. condition 条件 4、read 读 pointer) 数组 array

3. variant 变量 5、write 写 引用 reference

4. process过程 6、error 错误 元素 element

5.priority优先 序号 主要章节 常用英汉对照词汇 备注 地址 address

6. operation运算 1 运算符与表达式 排序 sort

数组: ( operator and expression ) 汉语 英语 字符 character

1. array 数组 常量 constant 字符串 string

2. reference 引用 变量 variable 应用 application

3. element 元素 标识符 identify 指针 pointer

4. address 地址 关键字 keywords 参数 argument

5. sort 排序 符号 sign 数组 array

6. character 字符 运算符 operator 声明 declaration. string 字符串 语句 statement 表示 represent

8. application 应用 语法 syntax 处理 manipulate 函数: 表达式 Expression 6 结构体、

1.call 调用 初始化 Initialization 共用体

2.return value 返回值 数据格式 number format (structures union 结构 structure

3.function 函数 类型转换 type conversion 成员 member

4. declare 声明 定义 Define 、 definition 标记 tag

函数 function archaic a.己废的,古老的 teaching programming 编程教学 枚举 enumerate mainmodule 主模块 lengthy a.冗长的,漫长的 联合 ( 共用体 ) union sufficient a.充分的,足够的 alter vi./vt.改变

创建 create submodule 子模块 flaw n.缺点裂纹

插入 insert data processing 数据处理 devclop vt.发达

删除 delete modify v.修正,修改 separate a.各别的

修改 modify business application 商业应用 recompile v.编译 7 文件 outline n.轮廓,概要 assist n.帮助

( file) 文件 file scientific application 科学应用 cycle n.循环

打开 open compose分解 technician n.技师

关闭 close lexical a.字典的,词汇的 remove vt.移动,除去 读 read code 代码 straight line 直线

写 write non-programmer n.非编程人员 category n.种类,类项 错误 error node vt改为密码 rectangle n.长方形,矩形 Program Design 程序设计 notation n.记号法,表示法,注释 P-code p代码 writing program 编写程序 pseudocode n.伪代码 virtrally ad.事实上 standardize vt.使标准化 verbosity n.唠叨,冗长 symology n.象征学象征的使用 coding the program 编程 commas n.逗点逗号 register n.寄存器

simplify vt.单一化,简单化 record n.记录 to summaries 总之,总而言之 programming 程序 documentation 文档 by convention 按照惯例

篇四:TC常见错误提示解释

TC常见错误提示解释

Argument # missing name 参数 # 名丢失

Argument list syntax error 参数表语法错误

Array bounds missing 丢失数组界限符

Bad character in paramenters 参数中有不适当的字符

(来自:WWw.SmhaiDa.com 海达范文网:缺少右括号)

Bad file name format in include directive 包含命令中文件名格式不正确

Call of non-function 调用未定义的函数

Call to function with no prototype 调用函数时没有函数的说明

Cannot modify a const object 不允许修改常量对象

Case outside of switch Case 出现在 switch 外

Case statement missing Case 语句漏掉

Case syntax error Case 语法错误

Character constant too long 字符常量太长

Compound statement missing{ 分程序漏掉 "{"

Conflicting type modifiers 不明确的类型说明符

Constant expression required 要求常量表达式

Declaration missing 说明缺少 " ; "

Declaration needs type or storage class说明必须给出类型或存储类

Declaration syntax error 说明中出现语法错误

Default outside of switch Default 出现在 switch 语句之外 Define directive needs an identifier 编译预处理指令 Define 需要标识符

Division by zero 用零作除数

Do statement must have while Do-while 语句中缺少 while 部分

DO while statement missing ( Do while 语句中漏掉了符号 "("

Do while statement missing ; Do while 语句中掉了分号

Duplicate Case Case 情况不唯一

Enum syntax error 枚举类型语法错误

Enumeration constant syntax error 枚举常数语法错误

Error directive :xxx 错误的编译预处理命令

Error writing output file 写输出文件错误

Expression syntax error 表达式语法错误

Extra parameter in call 调用时出现多余参数

Extra parameter in call to xxxxxx 调用 xxxxxxxx 函数时出现了多余参数 For statement missing ) For 语名缺少 ")"

For statement missing( For 语句缺少 "("

For statement missing; For 语句缺少 " ; "

Function call missing ) 函数调用缺少右括号

Fuction definition out of place 函数定义位置错误

Fuction should return a value 函数必需返回一个值

Goto statement missing label Goto 语句没有标号

If statement missing( If 语句缺少 "("

If statement missing) If 语句缺少 ")"

Illegal character ''x'' 非法字符 x

Illegal initialization 非法的初始化

Illegal octal digit 非法的 8 进制数字

Illegal pointer subtraction 非法的指针相减

Illegal structure operation 非法的结构体操作

Illegal use of floating point 非法的浮点运算

Illegal use of pointer 指针使用非法

Improper use of a typedef symbol 类型定义符号使用不恰当

Incompatible storage class 存储类别不相容

Incompatible type conversion 不相容的类型转换

Incorrect commadn line argument:xxxxxx 不正确的命令行参数: xxxxxxx

Incorrect commadn file argument:xxxxxx 不正确的配置文件参数:

xxxxxxx Incorrect number format 错误的数据格式

Incorrect use of default Default 使用不当

Initializer syntax error 初始化语法错误

Invalid indirection 无效的间接运算

Invalid macro argument separator 无效的宏参数分隔符

Invalid pointer addition 指针相加无效

Irreducible expression tree 无法执行的表达式运算

Invalid use of dot 点使用错

Lvalue required is assigned a value 需要逻辑值 0 或非 0 值

Macro argument syntax error 宏参数语法错误

Macro expansion too long 宏的扩展太长

Mismatched number of parameters in definition 定义中参数个数不匹配

Misplaced break 此处不应出现 break 语句

Misplaced continue 此处不应出现 continue 语句

Misplaced decimal point 此处不应出现小数点 xxx''

Misplaced else 此处不应出现 else

Misplaced else directive 此处不应出现编译预处理 else

Misplaced endif directive 此处不应出现编译预处理 endif

Must be addressable 必须是可以编址的

Must take address of memory location 必须存储定位的地址

No declaration for function ''xxx'' 没有函数 xxx 的说明

No file name ending 无文件终止符

No file names given 未给出文件名

No stack 缺少堆栈

No type information 没有类型信息

Non-portable pointer assignment 对不可移动的指针(地址常数)赋值 Non-portable pointer comparison 不可移动的指针(地址常数)比较

Non-portable pointer conversion 不可移动的指针(地址常数)转换

Non-protable return type conversion 不可移植的返回类型转换

Not a valid expression format type 不合法的表达式格式

Not an allowed type 不允许使用的类型

Out of memory 内存不够用

Parameter ''xxx'' is never used 参数 xxx 没有用到

Pointer required on left side of -> 符号 -> 的左边必须是指针

Possible use of ''xxx'' before definition 在定义之前就使用了 xxx (警告)

Possibly incorrect assignment 赋值可能不正确

Redeclaration of ''xxx'' 重复定义了 xxx

Redefinition of ''xxx'' is not identical xxx 的两次定义不一致

Register allocation failure 寄存器定址失败

Repeat count needs an lvalue 重复计数需要逻辑值

Size of structure or array not known 结构体或数组大小不确定

Statement missing 语句后缺少 " ; "

Structure or union syntax error 结构体或联合体语法错误

Structure size too large 结构体尺寸太大

Subscripting missing ] 下标缺少右方括号

Superfluous & with function or array 函数或数组中有多余的 "&"

Suspicious pointer conversion 可疑的指针转换

Switch statement missing ( switch 语句缺少 "("

Switch statement missing ) switch 语句缺少 ")"

Too few parameters in call 函数调用参数太少

Too few parameter in call to'xxxxxx' 调用 'xxxxxx' 时参数太少

Too many cases Cases 太多

Too many decimal points 十进制小数点太多

Too many default cases Default 太多 (switch 语句中一个 )

Too many exponents 阶码太多

Too many initializers 初始化太多

Too many error or warning messages 错误或警告信息太多

Too many storage classes in declaration 说明中存储类太多

Too many type in declaration 说明中类型太多

Too much auto memory in function 函数用到的自动存储太多

Too much global data defined in file 文件中全局数据太多

Two consecutive dots 两个连续的点

Type mismatch in parameter # 参数 "#" 类型不匹配

Type mismatch in parameter # in call to 'XXXXXXX'调用'XXXXXXX' 时参数#类型不匹配 Type mismatch in parameter xxx 参数xxx 类型不匹配

Type mismatch in parameter ' XXX ' in call to 'YYY' 调用'YYY'时参数'XXX' 数型不匹配 Type mismatch in redeclaration of ''xxx'' xxx 重定义的类型不匹配

Unable to create output file ''xxx'' 无法建立输出文件 xxx

Unable to create turboc.lnk 不能创建 turboc.lnk

Unable to execute command 'xxxxxxxx' 不能执行 'xxxxxxxx' 命令

Unable to open include file 'xxx' 无法打开被包含的文件 xxx

Unable to open input file 'xxx' 无法打开输入文件 xxx

Undefined label 'xxx' 没有定义的标号 xxx

Undefined structure 'xxx' 没有定义的结构 xxx

Undefined symbol 'xxx' 没有定义的符号 xxx

Unexpected end of file in comment started on line xxx 源文件在从xxx行开始的注释中意外结束

Unexpected end of file in conditional started on line xxx 源文件在 # 行开始的条件语 句中意

外结束

Unknown option 未知的操作

Unknown preprocessor directive: ''xxx'' 不认识的预处理命令 xxx

Unreachable code 无路可达的代码

Untermimated character constant 未终结的字符常量

Unterminated string 未终结的串

Unterminated string or character constant 字符串或字符常量缺少引号 User break 用户强行中断了程序

Value required 赋值请求

Void functions may not return a value Void 类型的函数不应有返回值 While statement missing ( While 语句漏掉 '('

While statement missing ) While 语句漏掉 ')'

Wrong number of arguments in of 'xxxxxxxx' 调用 'xxxxxxxx' 时参数个数错误 'xxx' not an argument xxx 不是参数

'xxx' not part of structure xxx 不是结构体的一部分 xxx statement missing ( xxx 语句缺少左括号

xxx statement missing ) xxx 语句缺少右括号

xxx statement missing xxx 缺少分号

'xxx' declared but never used 说明了 xxx 但没有使用 'xxx' is assigned a value which is never used 给 xxx 赋了值但未用过 Zero length structure 结构体的长度为零

篇五:C语言中常见错误解释

C语言中常见得错误汉语解释

为了方便大家学习,资源共享。

Ambiguous operators need parentheses 不明确的运算需要用括号括起

Ambiguous symbol 'xxx'

不明确的符号

Argument list syntax error

参数表语法错误

Array bounds missing

丢失数组界限符

Array size toolarge

数组尺寸太大

Bad character in paramenters

参数中有不适当的字符

Bad file name format in include directive 包含命令中文件名格式不正确

Bad ifdef directive synatax

编译预处理ifdef有语法错

Bad undef directive syntax

编译预处理undef有语法错

Bit field too large

位字段太长

Call of non-function

调用未定义的函数

Call to function with no prototype 调用函数时没有函数的说明

Cannot modify a const object

不允许修改常量对象

Case outside of switch

漏掉了case 语句

Case syntax error

Case 语法错误

Code has no effect

代码不可述不可能执行到

Compound statement missing{

分程序漏掉"{"

Conflicting type modifiers

不明确的类型说明符

Constant expression required

要求常量表达式

Constant out of range in comparison 在比较中常量超出范围

Conversion may lose significant digits 转换时会丢失意义的数字

Conversion of near pointer not allowed 不允许转换近指针

Could not find file 'xxx'

找不到XXX文件

Declaration missing ;

说明缺少";"

Declaration syntax error

说明中出现语法错误

Default outside of switch

Default 出现在switch语句之外

Define directive needs an identifier

定义编译预处理需要标识符

Division by zero

用零作除数

Do statement must have while

Do-while语句中缺少while部分

Enum syntax error

枚举类型语法错误

Enumeration constant syntax error

枚举常数语法错误

Error directive :xxx

错误的编译预处理命令

Error writing output file

写输出文件错误

Expression syntax error

表达式语法错误

Extra parameter in call

调用时出现多余错误

File name too long

文件名太长

Function call missing )

函数调用缺少右括号

Fuction definition out of place

函数定义位置错误

Fuction should return a value

函数必需返回一个值

Goto statement missing label

Goto语句没有标号

Hexadecimal or octal constant too large 16进制或8进制常数太大

Illegal character 'x'

非法字符x

Illegal initialization

非法的初始化

Illegal octal digit

非法的8进制数字

Illegal pointer subtraction

非法的指针相减

Illegal structure operation

非法的结构体操作

Illegal use of floating point

非法的浮点运算

Illegal use of pointer

指针使用非法

Improper use of a typedefsymbol

类型定义符号使用不恰当

In-line assembly not allowed

不允许使用行间汇编

Incompatible storage class

存储类别不相容

Incompatible type conversion

不相容的类型转换

Incorrect number format

错误的数据格式

Incorrect use of default

Default使用不当

Invalid indirection

无效的间接运算

Invalid pointer addition

指针相加无效

Irreducible expression tree

无法执行的表达式运算

Lvalue required

需要逻辑值0或非0值

Macro argument syntax error

宏参数语法错误

Macro expansion too long

宏的扩展以后太长

Mismatched number of parameters in definition 定义中参数个数不匹配

Misplaced break

此处不应出现break语句

Misplaced continue

此处不应出现continue语句

Misplaced decimal point

此处不应出现小数点

Misplaced elif directive

不应编译预处理elif

Misplaced else

此处不应出现else

Misplaced else directive

此处不应出现编译预处理else Misplaced endif directive

此处不应出现编译预处理endif Must be addressable

必须是可以编址的

Must take address of memory location 必须存储定位的地址

No declaration for function 'xxx' 没有函数xxx的说明

No stack

缺少堆栈

No type information

没有类型信息

Non-portable pointer assignment 不可移动的指针(地址常数)赋值 Non-portable pointer comparison 不可移动的指针(地址常数)比较 Non-portable pointer conversion 不可移动的指针(地址常数)转换 Not a valid expression format type 不合法的表达式格式

Not an allowed type

不允许使用的类型

Numeric constant too large

数值常太大

Out of memory

内存不够用

Parameter 'xxx' is never used 能数xxx没有用到

Pointer required on left side of -> 符号->的左边必须是指针

Possible use of 'xxx' before definition 在定义之前就使用了xxx(警告) Possibly incorrect assignment 赋值可能不正确

Redeclaration of 'xxx'

重复定义了xxx

Redefinition of 'xxx' is not identical xxx的两次定义不一致

Register allocation failure

寄存器定址失败

Repeat count needs an lvalue 重复计数需要逻辑值

Size of structure or array not known 结构体或数给大小不确定 Statement missing ;

语句后缺少";"

Structure or union syntax error 结构体或联合体语法错误 Structure size too large

结构体尺寸太大

Sub scripting missing ]

下标缺少右方括号

Superfluous & with function or array 函数或数组中有多余的"&" Suspicious pointer conversion 可疑的指针转换

Symbol limit exceeded

符号超限

Too few parameters in call

函数调用时的实参少于函数的参数不 Too many default cases

Default太多(switch语句中一个) Too many error or warning messages 错误或警告信息太多

Too many type in declaration 说明中类型太多

Too much auto memory in function 函数用到的局部存储太多

Too much global data defined in file 文件中全局数据太多

Two consecutive dots

两个连续的句点

Type mismatch in parameter xxx 参数xxx类型不匹配

Type mismatch in redeclaration of 'xxx' xxx重定义的类型不匹配

Unable to create output file 'xxx' 无法建立输出文件xxx

Unable to open include file 'xxx' 无法打开被包含的文件xxx

字数作文