C28x编译器错误和警告消息From Texas Instruments Wiki从德州仪器维基Jump to:跳转到:navigation导航,search搜索Translate this page to TranslateShow originalC28x Compiler Error and Warning MessagesC28x编译器错误和警告消息Contents内容[hide]∙11Introduction介绍∙22Possible Errors,Warnings and Remarks可能的错误、警告和言论∙33Common Errors and Warnings常见的错误和警告o 3.13.1Warning:build attribute vendor section TI missing in "<library or object>:compatibility cannot be determined警告:构建属性供应商部分TI失踪”<图书馆或对象>:兼容性不能确定o 3.23.2fatal error:file.....rts2800_fpu32.lib<boot.致命错误:文件.....rts2800_fpu32.lib<引导。
obj>"specifies ISArevision"C28FPU32",which is not compatible with ISArevision"C2800"specified in a previous file or on thecommand lineobj>“指定ISA修订“C28FPU32”,这不是兼容ISA修订“C2800”之前的文件中指定或在命令行上o 3.33.3Warning:entry-point symbol other than"_c_int00"specified:"code_start"警告:入口点符号除了“_c_int00”规定:“code_start”o 3.43.4Error:unresolved symbols remain....错误:未解决符号保持....o 3.53.5Error:Tag_ISA attribute value of"2"that is different than one previously seen("1");combiningincompatible files错误:Tag_ISA属性值的“2”是不同于一个以前见过(“1”);结合不兼容的文件o 3.63.6Error:Tag_Memory_Model attribute value of"1"that is different than one previously seen("2");combiningincompatible files错误:Tag_Memory_Model属性值“1”,是不同于一个以前见过(“2”);结合不兼容的文件o 3.73.7Error:placement fails for object"csmpasswds"错误:放置失败对象“csmpasswds”o 3.83.8Warning:function declared implicitly警告:数的隐式声明o 3.93.9Error:placement fails for object错误:放置失败的对象o 3.103.10Error:placement fails for object".text错误:对象放置失败”text。
设置o 3.113.11extern cregister volatile unsigned int IFR;"../include/DSP2802x_Device.走读生cregister波动unsignedint仪表;“../include/DSP2802x_Device。
h",line51:error:omission of explicit type is nonstandard("int"assumed)h”,51行:错误:遗漏显式类型的非标准(“int”假设) o 3.123.12typedef interrupt void(*PINT)(void);"..\include\DSP2802x_PieVect.typedef中断无效(*品脱)(空白);“..\\DSP2802x_PieVect包括。
h",line26:error:omission of explicit type is nonstandard("int"assumed)h”第26行:错误:遗漏显式类型的非标准(“int”假设) Introduction介绍Often it is helpful to know what errors and warnings can be generated as well as the source of common errors.通常它有助于知道错误和警告可以生成以及常见错误的来源。
This article includes a list of the error,warning and remark messages generated as well as a list of common errors and their resolution.本文包含的错误、警告和备注信息生成以及常见错误的列表和他们的决议。
Possible Errors,Warnings and Remarks可能的错误、警告和言论The following file lists the error/warning/remark messages generated by the Texas Instruments C/C++parser.以下文件列出了错误/警告/备注信息由德州仪器C/c++生成解析器。
The purpose of this list to provide some indication as to which error/warning id#corresponds to whicherror/warning message.这个列表的目的提供一些指示哪个错误/警告id号对应哪个错误/警告信息。
C28x Compiler Error List:C28x编译器错误列表:TICompiler_C28_ErrorList.pdfTICompiler_C28_ErrorList.pdfCommon Errors and Warnings常见的错误和警告Warning:build attribute vendor section TI missing in"<library or object>:compatibility cannot be determined警告:构建属性供应商部分TI失踪”<图书馆或对象>:兼容性不能确定The library was built with an older tool set than the application it is being linked into.与一个较年长的工具集图书馆建于不是被链接到应用程序。
Older tools did not define this attribution.旧的工具没有定义这个属性。
Build attributes have existed for quitesometime so this warning is the exception.构建属性已经存在了很长时间内所以这个警告是例外。
Previously the tools interpreted files with no build attributes as having0values,but this is incorrect.以前没有构建的工具解释文件属性为0值,但这是不正确的。
They are now treated as compatible with everything,but warn the user that they are on their ow n.他们现在视为兼容一切,但警告用户,他们在他们自己的。
Examples:例子:∙The IQmath Library which is built with an older compiler but is compatible with current compilers.IQmath库构建一个老的编译器,但当前编译器兼容。
∙Flash API which is built with older compilers due totesting.Flash API构建与老的编译器测试。
∙SFO library used for the HRPWM module.SFO库用于HRPWM模块。
NOTE:注意:To suppress the warning you can use the linker option --diag_suppress=16002which can be placed in the linker commandfile抑制警告你可以使用链接器选项——diag_suppress=16002,可以放置在链接器命令文件fatal error:file.....rts2800_fpu32.lib<boot.致命错误:文件.....rts2800_fpu32.lib<引导。
obj>"specifies ISA revision"C28FPU32",which is not compatible with ISA revision"C2800"specified in a previous file or on the command lineobj>“指定ISA修订“C28FPU32”,这不是兼容ISA 修订“C2800”之前的文件中指定或在命令行上This is an attempt to link source compiled with--float_support=FPU32with a non-FPU32object file.这是一个试图编译链接来源与——float_support=FPU32non-FPU32对象文件。