工具/软件:TI C/C++编译器
当我通过.cla 文件中的函数指针调用函数时、我会收到此错误、该函数在结构中定义。 函数指针已在 main()中指定函数的地址。
使用 C2000文件夹中的示例代码。
我还尝试安装最新的编译器、但 CCS V8没有在首选项中显示编译器。 它是否需要更高版本的 CCS?
生成文件:"./cla_ex1_background_task_cla.cla" 调用:C2000编译器 "C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000 /ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/common/include /ti/c2000/C2000Ware_2_00_00_03/device_support/f28004x/headers/include -v28 -ml -mt --cla_support=cla2 -float_support=fpu32 -tmu_support=tmu0 -vcu_support=vcu-off-include_background_cla=/Users/RND17/Desktop/cla_ex1_background_task -board_background_excla_background-boards\cla_background-boards=cla_background_excla=cla_background-boards\cla_background_excla=cla_background-boards\contine_background-boards\cla_background_track_boards\cla_background-boards\continu_boards\cla_background-boards\cla_background-boards\continu.cla_background-boards\continu.cla :/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include -boards\cla_background_boards\cla_background-boards\continu_boards\continu_boards\continu_board.cla= accla.exe 当处理函数(未知或文件范围)文件(未知)行0时 、这是由 TI C/C++解析器中的缺陷引起的。 TI 客户支持可能会建议解决方法来避免这种情况。 升级到编译器的最新版本可能会解决此问题。 在 E2E 支持论坛中联系 TI、网址 为 http://e2e.ti.com 的"Development Tools"、"TI C/C++ Compiler"下。 请参阅标题 为"提交问题"的链接。 我们需要看到整个错误消息和完整、可重现 的测试案例、包括所有命令行选项。 包含由选项--preproc_with_comment 创建的.pp 文件
我还附加了 pp file.e2e.ti.com/.../cla_5F00_ex1_5F00_background_5F00_task_5F00_cla.pp.txt



