C编译器错误信息中文翻译.docx
《C编译器错误信息中文翻译.docx》由会员分享,可在线阅读,更多相关《C编译器错误信息中文翻译.docx(10页珍藏版)》请在冰点文库上搜索。
C编译器错误信息中文翻译
I. Compiling——compile编译
II. fatalerror——重大错误
III. Errorexecuting——执行错误
IV. syntaxerror——语法错误
1. Expressionsyntaxerror——表达式语法错误
2. Declarationsyntaxerror——声明中出现语法错误
3. Compoundstatementmissing{——复合语句漏掉"{"
4. Illegalcharacter``x``——非法字符x
5. undeclaredidentifier——未定义的标识符
6. redeclarationof``xxx``——重复定义了xxx
7. Declarationmissing;——声明缺少";"
8. Cannotopenincludefile:
'iostram.h':
Nosuchfileordirectory
——打不开包含文件'iostram.h':
没有这个文件或者路径错误
9. Couldnotfindfile``xxx``——找不到XXX文件
10.missing';'beforeidentifier'cout'——在标识符'cout'之前缺少';'
11.unexpectedendoffilefound——找不到文件结束
12.unresolvedexternalsymbol_main——缺少主函数main
13.missing')'before'{'——在'{'之前缺少')'
14.Calltofunctionwithnoprototype——调用函数时没有声明函数
15.Callofnon-function——调用未定义的函数
16.Functionshouldreturnavalue——函数必需返回一个值
17.Typemismatchinparameterxxx——参数xxx类型不匹配
18.Dostatementmusthavewhile——Do-while语句中缺少while部分
19.Argumentlistsyntaxerror——参数表语法错误
20.Divisionbyzero——用零作除数
21.Arraysizetoolarge——数组尺寸太大
22.Caseoutsideofswitch——漏掉了case语句
23.Misplacedbreak——此处不应出现break语句
24.Codehasnoeffect——代码执行不到
25.Constantexpressionrequired——要求常量表达式
26.Constantoutofrangeincomparison——在比较中常量超出范围
27.writingoutputfile——写输出文件错误
28.Unabletocreateoutputfile``xxx``——无法建立输出文件xxx
29.Illegalinitialization——非法的初始化
30.Illegaluseoffloatingpoint——非法的浮点运算
31.Illegaluseofpointer——指针使用非法
32.Incompatibletypeconversion——不相容的类型转换
33.Lvaluerequired——需要逻辑值0或非0值
34.Macroargumentsyntaxerror——宏参数语法错误
35.Mismatchednumberofparametersindefinition——定义中参数个数不匹配
36.Badcharacterinparamenters——参数中有不适当的字符
37.Badfilenameformatinincludedirective——包含命令中文件名格式不正确
38.Conversionmaylosesignificantdigits——转换时会丢失意义的数字
39.Outofmemory——内存不够用
40.Parameter``xxx``isneverused——参数xxx没有用到
41.``xxx``isassignedavaluewhichisneverused——xxx定义了但没有使用
42.Possibleuseof``xxx``beforedefinition——在定义之前就使用了xxx(警告)
43.Possiblyincorrectassignment——赋值可能不正确
44.Ambiguousoperatorsneedparentheses-----------不明确的运算需要用括号括起
45.Ambiguoussymbol''xxx''----------------不明确的符号
46.Argumentlistsyntaxerror----------------参数表语法错误
47.Arrayboundsmissing------------------丢失数组界限符
48.Arraysizetoolarge-----------------数组尺寸太大
49.Badcharacterinparamenters------------------参数中有不适当的字符
50.Badfilenameformatinincludedirective--------------------包含命令中文件名格式不正确
51.Badifdefdirectivesynatax------------------------------编译预处理ifdef有语法错
52.Badundefdirectivesyntax---------------------------编译预处理undef有语法错
53.Bitfieldtoolarge----------------位字段太长
54.Callofnon-function-----------------调用未定义的函数
55.Calltofunctionwithnoprototype---------------调用函数时没有函数的说明
56.Cannotmodifyaconstobject---------------不允许修改常量对象
57.Caseoutsideofswitch----------------漏掉了case语句
58.Casesyntaxerror------------------Case语法错误
59.Codehasnoeffect-----------------代码不可述不可能执行到
60.Compoundstatementmissing{--------------------分程序漏掉"{"
61.Conflictingtypemodifiers------------------不明确的类型说明符
62.Constantexpressionrequired----------------要求常量表达式
63.Constantoutofrangeincomparison-----------------在比较中常量超出范围
64.Conversionmaylosesignificantdigits-----------------转换时会丢失意义的数字
65.Conversionofnearpointernotallowed-----------------不允许转换近指针
66.Couldnotfindfile''xxx''-----------------------找不到XXX文件
67.Declarationmissing;----------------说明缺少";"
68.Declarationsyntaxerror-----------------说明中出现语法错误
69.Defaultoutsideofswitch------------------Default出现在switch语句之外
70.Definedirectiveneedsanidentifier------------------定义编译预处理需要标识符
71.Divisionbyzero------------------用零作除数
72.Dostatementmusthavewhile------------------Do-while语句中缺少while部分
73.Enumsyntaxerror---------------------枚举类型语法错误
74.Enumerationconstantsyntaxerror-----------------枚举常数语法错误
75.Errordirective:
xxx------------------------错误的编译预处理命令
76.Errorwritingoutputfile---------------------写输出文件错误
77.Expressionsyntaxerror-----------------------表达式语法错误
78.Extraparameterincall------------------------调用时出现多余错误
79.Filenametoolong----------------文件名太长
80.Functioncallmissing-----------------函数调用缺少右括号
81.Fuctiondefinitionoutofplace------------------函数定义位置错误
82.Fuctionshouldreturnavalue------------------函数必需返回一个值
83.Gotostatementmissinglabel------------------Goto语句没有标号
84.Hexadecimaloroctalconstanttoolarge------------------16进制或8进制常数太大
85.Illegalcharacter''x''------------------非法字符x
86.Illegalinitialization------------------非法的初始化
87.Illegaloctaldigit------------------非法的8进制数字
88.Illegalpointersubtraction------------------非法的指针相减
89.Illegalstructureoperation------------------非法的结构体操作
90.Illegaluseoffloatingpoint-----------------非法的浮点运算
91.Illegaluseofpointer--------------------指针使用非法
92.Improperuseofatypedefsymbol----------------类型定义符号使用不恰当
93.In-lineassemblynotallowed-----------------不允许使用行间汇编
94.Incompatiblestorageclass-----------------存储类别不相容
95.Incompatibletypeconversion--------------------不相容的类型转换
96.Incorrectnumberformat-----------------------错误的数据格式
97.Incorrectuseofdefault---------------------Default使用不当
98.Invalidindirection---------------------无效的间接运算
99.Invalidpointeraddition------------------指针相加无效
100.Irreducibleexpressiontree-------------------无法执行的表达式运算
101.Lvaluerequired---------------------------需要逻辑值0或非0值
102.Macroargumentsyntaxerror-------------------宏参数语法错误
103.Macroexpansiontoolong----------------------宏的扩展以后太长
104.Mismatchednumberofparametersindefinition---------------------定义中参数个数不匹配
105.Misplacedbreak---------------------此处不应出现break语句
106.Misplacedcontinue------------------------此处不应出现continue语句
107.Misplaceddecimalpoint--------------------此处不应出现小数点
108.Misplacedelifdirective--------------------不应编译预处理elif
109.Misplacedelse----------------------此处不应出现else
110.Misplacedelsedirective---------------此处不应出现编译预处理else
111.Misplacedendifdirective-------------------此处不应出现编译预处理endif
112.Mustbeaddressable----------------------必须是可以编址的
113.Musttakeaddressofmemorylocation------------------必须存储定位的地址
114.Nodeclarationforfunction''xxx''-------------------没有函数xxx的说明
115.Nostack---------------缺少堆栈
116.Notypeinformation------------------没有类型信息
117.Non-portablepointerassignment--------------------不可移动的指针(地址常数)赋值
118.Non-portablepointercomparison--------------------不可移动的指针(地址常数)比较
119.Non-portablepointerconversion----------------------不可移动的指针(地址常数)转换
120.Notavalidexpressionformattype---------------------不合法的表达式格式
121.Notanallowedtype---------------------不允许使用的类型
122.Numericconstanttoolarge-------------------数值常太大
123.Outofmemory-------------------内存不够用
124.Parameter''xxx''isneverused------------------能数xxx没有用到
125.Pointerrequiredonleftsideof->-----------------------符号->的左边必须是指针
126.Possibleuseof''xxx''beforedefinition-------------------在定义之前就使用了xxx(警告)
127.Possiblyincorrectassignment----------------赋值可能不正确
128.Redeclarationof''xxx''-------------------重复定义了xxx
129.Redefinitionof''xxx''isnotidentical-------------------xxx的两次定义不一致
130.Registerallocationfailure------------------寄存器定址失败
131.Repeatcountneedsanlvalue------------------重复计数需要逻辑值
132.Sizeofstructureorarraynotknown------------------结构体或数给大小不确定
133.Statementmissing;------------------语句后缺少";"
134.Structureorunionsyntaxerror------------结构体或联合体语法错误
135.Structuresizetoolarge----------------结构体尺寸太大
136.Subscriptingmissing]----------------下标缺少右方括号
137.Superfluous&withfunctionorarray------------------函数或数组中有多余的"&"
138.Suspiciouspointerconversion---------------------可疑的指针转换
139.Symbollimitexceeded---------------符号超限
140.Toofewparametersincall-----------------函数调用时的实参少于函数的参数不
141.Toomanydefaultcases---------------Default太多(switch语句中一个)
142.Toomanyerrororwarningmessages--------------------错误或警告信息太多
143.Toomanytypeindeclaration-----------------说明中类型太多
144.Toomuchautomemoryinfunction-------函数用到的局部存储太多
145.Toomuchglobaldatadefinedinfile-------------文件中全局数据太多
146.Twoconsecutivedots-----------------两个连续的句点
147.Typemismatchinparameterxxx----------------参数xxx类型不匹配
148.Typemismatchinredeclarationof''xxx''----xxx重定义的类型不匹配
149.Unabletocreateoutputfile''xxx''---------------无法建立输出文件xxx
150.Unabletoopenincludefile''xxx''---------无法打开被包含的文件xxx
151.Unabletoopeninputfile''xxx''----------------无法打开输入文件xxx
152.Undefinedlabel''xxx''-------------------没有定义的标号xxx
153.Undefinedstructure''xxx''-----------------没有定义的结构xxx
154.Undefinedsymbol''xxx''-----------------没有定义的符号xxx
155.Unexpectedendoffileincommentstartedonlinexxx----------从xxx行开始的注解尚未结束文件不能结束
156.Unexpectedendoffileinconditionalstartedonlinexxx----从xxx开始的条件语句尚未结束文件不能结束
157.Unknownassembleinstruction----------------未知的汇编结构
158.Unknownoption---------------未知的操作
159.Unknownpreprocessordirective:
''xxx''-----------------不认识的预处理命令xxx
160.Unreachablecode------------------无路可达的代码
161.Unterminatedstringorcharacterconstant-----------字符串缺少引号
162.Userbreak----------------用户强行中断了程序
163.Voidfunctionsmaynotreturnavalue-----------------Void类型的函数不应有返回值
164.Wrongnumberofarguments-----------------调用函数的参数数目错
165.''xxx''notanargument-----------------xxx不是参数
166.''xxx''notpartofstructure--------------------xxx不是结构体的一部分
167.xxxstatementmissing(--------------------xxx语句缺少左括号
168.xxxstatementmissing)------------------xxx语句缺少右括号