The TI E2E™ design support forums will undergo maintenance from Sept. 28 to Oct. 2. If you need design support during this time, contact your TI representative or open a new support request with our customer support center.

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 warning level?

Part Number: CODECOMPOSER

As compile log, it failed

"multi_gesture_68xx_aop_mss/common/mmwl_if.c", line 852: error: variable "taskParams" was declared but never referenced

Acutually, when I use CCS, this would not happen, but When I try to compile in command line(use gmake), failed at everytime.

How can I set warning level or something to avoid this kind of failure.?

  • Please get some background by searching the TI ARM compiler manual for the sub-chapter titled Understanding Diagnostic Messages.  Focus on understanding the four different levels of severity each diagnostic has.  The default severity of this diagnostic ...

    "multi_gesture_68xx_aop_mss/common/mmwl_if.c", line 852: error: variable "taskParams" was declared but never referenced

    ... is a warning, not an error.  There are a few ways to change the severity from warning to error.  The most likely way is by using the command line option --emit_warnings_as_errors.  

    when I use CCS, this would not happen

    It is likely that, when building with CCS, --emit_warnings_as_errors is not used.  

    but When I try to compile in command line(use gmake), failed at everytime.

    It is likely this build uses --emit_warnings_as_errors.

    How can I set warning level or something to avoid this kind of failure.?

    In addition to --emit_warnings_as_errors, the documentation details other options and #pragma statements that can be used to control diagnostics.

    Thanks and regards,

    -George

  • Dear George.

    Thanks for your information. 

    BnR

    Choi