This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好、
我正在使用 CCS v8.3.0进行编译。
我始终在 该行的文件 stdint.h (路径:ccs_v8.3.0.00009\ccsv8\tools\compiler\ti-cgt-arm_18.1.4.spl\include)中观察到解析错误
#if __hats_include ( )
在进一步检查后、发现宏定义正确。
目前我添加了以下修补程序代码:
#ifndef __ha_include
#define _hAS_include (x) 0
#endif
我看到这个宏自 CCS V8以来已经被引入。 CCS v7中不会出现此解析错误。
请看一下。
此致、
Divya
从搜索中找到 CCS/CCStudio:CCS 8.1解码#includes 在 IDE 中不正确;编译器本身正常工作。 这看起来是同一个问题。
已 提交 TT EXT_EP-9009、但状态为拒绝、并添加注释:
[引用 userid="529065" URL"~/support/microcontrollers/arm-based microcontrollers-group/arm-based microcontrollers/f/arm-based microcontrollers-forume/1122480/tms570lc4357-code-composer-studio forum-v8"] CCS v7中不会出现此解析错误。[/quot]拒绝原因:CDT 索引器的行为符合预期
您能否确认问题是否在 CCS 索引器中、并且程序编译成功?
此外、您是否在 CCS v7和 v8中使用相同的编译器版本?
根据 编译器安装和选择 、编译器版本与 CCS 版本不同。
我不使用 CCS 进行代码编译、而是使用 makefile。
makefile 中的编译器基路径指定为:
CCS_v8.3.0.00009\ccsv8\tools\compiler\ti-cgt-arm_18.1.4.LTS -->用于 CCS v8.3
ccs_v7.4.0.00015\ccsv7\tools\compiler\ti-cgt-arm_16.9.6.LTS -- >查看 CCS v7.4
但宏"_has _include"仅从 stdint.h 文件中的 V8引入。
我不理解为什么会出现解析错误、
在.../../../thirdparty/flashlib/drvfls_tmsx70f021ti01hissub/include/types.h:34中包含的文件中,
从./../../../external/Bsw/flashdrv.h:48、
从 include/FBL_inc.h:88中、
从 Source/FBL_apwd.c:158:
D:/uti/compiler/ti/ccs_v8.3.0.00009/ccsv8/tools/compiler/ti-cgt-arm_18.1.4.ls/include/stdint.h:45:解析错误
makefile 中的编译器基路径指定为:
CCS_v8.3.0.00009\ccsv8\tools\compiler\ti-cgt-arm_18.1.4.LTS -->用于 CCS v8.3
ccs_v7.4.0.00015\ccsv7\tools\compiler\ti-cgt-arm_16.9.6.LTS -- >查看 CCS v7.4
[/报价]安装旧版本 包含一些有关将旧版编译器安装到 CCS 中的信息。 因此、使用 CCS v8.3、您应该能够安装 ti-cgt-arm_16.9.6.LTS
[引用 userid="529065" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1122480/tms570lc4357-code-composer-studo-forum-v8/4162077#4162077"]我不明白为什么会出现错误、引述/解析错误[]您能不能显示 makefile 文件。 我猜测 makefile 正在尝试为源文件生成包含依赖项、但在尝试解析 _ha_include 指令时出错。
正在使用哪个版本的 make (或 gmake)?
从搜索中找到 CCS/CCStudio:CCS 8.1解码#includes 在 IDE 中不正确;编译器本身正常工作。 这看起来是同一个问题。
已 提交 TT EXT_EP-9009、但状态为拒绝、并添加注释:
[/报价]拒绝原因:CDT 分度器的行为符合预期
此问题已解决、因为从 CCS 版本11.0.0开始修复。
这...
[引用 userid="529065" URL"~/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1122480/tms570lc4357-code-composer-studio forum-v8/4162077#flux2077"]in 文件、包含在./cn/sub/tidtid/tidtidex/tid.0001.0001.0001.000xs/tids/tids/tidr.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001.0001....看起来与 TI ARM 编译器发出的典型诊断不同。 什么工具或实用程序会发出此诊断信息?
谢谢、此致、
乔治