Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-9211

Use of --check_misra=14.10 causes non-MISRA related warning to be emitted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5843
    • Hide
      C2000_20.2.0.beta
      C6000_8.2.0
      C2000_18.1.0.LTS
      C6000_8.3.0
      ARM_18.12.0.LTS
      PRU_2.3.0
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      PRU_2.4.0*
      ARM_19.6.0.STS
      MSP430_18.12.0.LTS
      ARM_20.2.0.beta
      C2000_18.12.0.LTS
      MSP430_20.2.0.beta
      Show
      C2000_20.2.0.beta C6000_8.2.0 C2000_18.1.0.LTS C6000_8.3.0 ARM_18.12.0.LTS PRU_2.3.0 ARM_18.1.0.LTS MSP430_18.1.0.LTS PRU_2.4.0* ARM_19.6.0.STS MSP430_18.12.0.LTS ARM_20.2.0.beta C2000_18.12.0.LTS MSP430_20.2.0.beta
    • Hide
      C2000_20.2.0.beta
      C2000_18.1.7.LTS
      ARM_18.12.3.LTS
      ARM_18.1.7.LTS
      MSP430_18.12.3.LTS
      C2000_18.12.3.LTS
      PRU_2.3.3
      PRU_2.4.0*
      MSP430_18.1.7.LTS
      C6000_8.3.5
      C6000_8.2.8
      ARM_20.2.0.beta
      MSP430_20.2.0.beta
      Show
      C2000_20.2.0.beta C2000_18.1.7.LTS ARM_18.12.3.LTS ARM_18.1.7.LTS MSP430_18.12.3.LTS C2000_18.12.3.LTS PRU_2.3.3 PRU_2.4.0* MSP430_18.1.7.LTS C6000_8.3.5 C6000_8.2.8 ARM_20.2.0.beta MSP430_20.2.0.beta
    • No direct workaround. The warning can be suppressed by the usual methods, or corrected as described in the report.
    • If a local variable's address is taken before the variable is initialised, there will usually not be a warning with default settings. However, if any --check_misra option is used, the compiler will issue a used-before-set warning for the variable.

      Use of --check_misra=14.10 causes non-MISRA related warning to be emitted

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: