TI E2E™ 设计支持论坛将于 5 月 30 日至 6 月 1 日进行维护。如果您在此期间需要技术支持,请联系 TI 的客户支持中心寻求帮助。

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.

[参考译文] CODECOMPOSER:TI-CGT-ARM_16.9.6.LTS 警告级别?

Guru**** 2048030 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1125369/codecomposer-ti-cgt-arm_16-9-6-lts-warning-level

器件型号:CODECOMPOSER

作为编译日志、它失败了

"multi_pestate_68xx_AOP_MSS/common/mmwl_if.c"、第852行:错误:已声明变量"taskParams"、但从未引用

实际上、当我使用 CCS 时、不会发生这种情况、但当我尝试在命令行中编译(使用 gmake)时、每次都失败。

如何设置警告级别或某种程度的方法来避免这种故障。?

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    请通过在 TI ARM 编译器手册中搜索 标题 为了解诊断消息的子章节、获取一些背景信息。  重点了解每个诊断具有的四个不同的严重级别。  此诊断的默认严重性...

    [引用 userid="511521" URL"~//support/tools/code-composer-studio 组/ccs/f/code-composer-studio 论坛/1125369/codecoser-ti-cgt-arm_16-9-6-ls-warning-level]"multi_852_68xx_AOP_l/common.c、但从未声明过"mmtask_wl"变量/common.c:"、但未声明为"mmwtask_mand"、如有引用、则为"mmc_taskline":"mand":

    ...是警告,不是错误。  有几种方法可以将严重性从警告更改为错误。  最可能的方法是使用命令行选项 --emit_warning_as 错误。   

    [引用 userid="511521" URL"~//support/tools/code-composer-studio 组/CCs/f/code-composer-studio 论坛/1125369/codecoser-ti-cgt-arm_16-9-6-ls- warning-level"]当我使用 CCS 时、不会发生这种情况[/quot]

    使用 CCS 编译时、可能 使用--emit_warning_as 错误。   

    [引用 userid="511521" URL"~//support/tools/code-composer-studio 组/CCS/f/code-composer-studio 论坛/1125369/codecoser-ti-cgt-arm_16-9-6-ls- warning-level"]但当我尝试在命令行中编译时(使用 gmake),每次都失败[报价失败]。

    此构建可能使用 --emit_warning_as 错误

    [~ userid="511521" url="支持/tools/code-composer-studio 组/CCS/f/code-composer-studio 论坛/1125369/codcomposer-ti-cgt-arm_16-9-6-ls- warning-level"]如何设置警告级别或某种方法来避免这种故障?

    除了 --emit_warnings _as _errors 之外、该文档还详细介绍了可用于控制诊断的其他选项和#pragma 语句。

    谢谢、此致、

    乔治

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的乔治。

    感谢您的信息。  

    BNR

    Choi