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.

How to suppress unused variable definition in ti-cgt-arm_20.2.2.LTS

Hi champion,
    My customer uses ti-cgt-arm_20.2.2.LTS to build TPR12 R5F code, and they see the compiler reports errors in below places.

   Errors means:

  1. variables are defined but not used
  2. variables are declared, but not referenced
  3. file ends without a new line

   Do you know how to adjust compiler setting to suppress these errors?

Thanks,
Adam