易码技术论坛

 找回密码
 加入易码
搜索
查看: 164212|回复: 4

C语言出错信息中英文对照表

[复制链接]
发表于 2007-6-1 21:26:40 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2007-6-1 22:20:58 | 显示全部楼层
LZ辛苦了!
幸亏考试的内容不是太难,不然这么多代码还不把人看晕呀?!
发表于 2007-6-2 10:52:53 | 显示全部楼层
顶,不知道有没有用。顶了再说。
发表于 2007-6-12 14:15:11 | 显示全部楼层
不错,收了
 楼主| 发表于 2007-6-1 21:09:20 | 显示全部楼层 |阅读模式
我发现网上的都不全,这个大部分是我从《C程序设计与解析》后面抄来的,并结合了网上流传的一部分,应该比较齐全了。


不明确的运算需要用括号括起

致命错误信息

Bad call of in-line function
内部函数非法调用
分析处理方法:在使用一个宏定义的内部函数时,没能正确调用。一个内部函数以两个下划线(_)开始和结束

Irreducible expression tree
不可约表达式树
分析处理方法:这种错误指的是文件中的表达式太复杂,使得代码生成程序无法为它生成代码。书写程序时这种表达式必须避免使用

Register allocation failure
寄存器分配失败
分析处理方法:由于程序中频繁使用寄存器变量而导致交叉引用寄存器失败,属于编译器的系统错误

一般错误信息

#operator not followed by maco argument name
#运算符后没有根宏变元名

"xxxxxx" not an argument
“xxxxxx”不是函数参数

Ambiguous symbol ’’xxx’’
不明确的符号

Argument # missing name
参数#名丢失

Argument list syntax error
参数表语法错误

Array bounds missing
数组界限符“[”或“]”丢失

Array size too large
数组太大

Assembler statement too large
汇编语句太长

Bad configuration file
配置文件不正确

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

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

Bad ifdef directive synatax
编译预处理ifdef有语法错

Bad ifndef directive synatx
编译预处理ifndef有语法错

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

Bad file size syntax
位字段长语法错误

Bit field too large
位字段太长

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
字符常量太长

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 needs type or storage class
说明必须给出类型或存储类

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关键字

Do while statement missing (
do while 语句中漏掉了"("

Do while statement missing ;
do while 语句中漏了";"

Duplicate Case
case情况不唯一

Enum syntax error
enum(枚举类型)语法错误

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

Error Directive : xxxx
错误指令:xxxx

Error Writing output file
写输出文件错误

Exprssion syntax error
表达式语法错误

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

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

File name too long
文件名太长

For statement missing )
for语句缺少")"

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

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

Function call missing )
函数调用缺少")"

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

Function doesn't take a variable number of argument
函数不接受可变的参数个数

Goto statement missing label
goto语句缺少标号

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

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

Illegal initialization
非法初始化

Illegal octal digit
非法八进制

Illegal pointer subtraction
非法指针相减

Illegal structure operation
非法结构操作

Illegal use of floating point
非法浮点运算

Illegal use of pointer
非法使用指针

Improper use of a typedef symbol
typedef符号使用不当

Incompatible storage class
不相容的存储类型

Incompatible type conversion
不相容的类型转换

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

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

Incorrect number format
不正确的数据格式

Incorrect use of default
default使用不正确

Initialize syntax error
初始化语法错误

Invalid indirection
无效的间接运算

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

Invalid pointer addition
无效的指针相加

Invalid use of dot
点使用错

Macro argument syntax error
宏参数语法错误

Macro expansion too long
宏扩展太长

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

Misplaced break
break位置错误

Misplaced continue
continue位置错误

Misplaced decimal point
十进制小数点位置错误

Misplaced else
else位置错误

Misplaced else directive
else指令位置错误

Misplaced endif directive
endif指令位置错误

Must be addressable
必须是可编址的

Must take address of memory location
必须是内存地址

No file name ending
无文件终止符

No file names given
未给出文件名

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

Non-portable pointer comparison
对不可移植的指针比较

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

Not an allowed type
不允许的类型

Out of memory
内存不足

Pointer required on left side of
操作符左边必须是一个指针

Redeclaration of "xxxxxx"
"xxxxxx"重定义

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

Statement missing ;
语句缺少";"

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

Structure size too large
结构太大

Subscription missing ]
下标缺少"]"

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

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

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

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

Too many cases
case太多

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

Too many default cases
default太多

Too many exponents
阶码太多

Too many initializers
初始化太多

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

Too many types in declaration
说明中类型声明太多

Too much auto memory in function
函数中自动存储太多

Too much global define in file
文件中定义的全局数据太多

Two consecutive dots
两个连续点

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

Type mismatch in parameter # in call to "xxxxxx"
调用"xxxxxx"时,参数"#"类型不匹配

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

Type mismatch in parameter "xxxxxx" in call to "yyyyyy"
调用"yyyyyy"时,参数"xxxxxx"类型不匹配

Type mismatch in redeclaration of "xxxxxx"
重定义类型不匹配

Unable to create output file "xxxxxxx.xxx"
不能创建输出文件"xxxxxxx.xxx"

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

Unable to execute command "xxxxxx"
不能执行"xxxxxx"命令

Unable to open include file "xxxxxxx.xxx"
不能打开包含文件"xxxxxxx.xxx"

Unable to open input file "xxxxxxx.xxx"
不能打开输入文件"xxxxxxx.xxx"

Undefined label "xxxxxx"
标号"xxxxxx"未定义

Undefined structure "xxxxxx"
结构"xxxxxx"未定义

Undefined symbol "xxxxxx"符号"xxxxxx"未定义

Unexpected end of file in comment started on line #源文件在#行某个注释中意外结束

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

Unknown preprocessor directive "xxxxxx"
不认识的预处理指令:xxxxxx

Unterminated character constant
未终结的字符常量

Unterminated string
未终结的串

Unterminated string or character constant
未终结的串或字符常量

User break
用户中断

Value required
赋值请求

While statement missing (
while 语句漏掉"("

While statement missing )
while 语句漏掉")"

Wrong number of arguments in of "xxxxxx"
调用"xxxxxx"时,参数个数错误
您需要登录后才可以回帖 登录 | 加入易码

本版积分规则

Archiver|手机版|小黑屋|EMAX Studio

GMT+8, 2024-3-29 13:55 , Processed in 0.009563 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表