Checking for MISRA rule 20.1 causes macro redefinition to be ignored

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-5563
    • 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*
      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* 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
    • None. To detect redefined macros that aren't predefined, --check_misra=20.1 must not be in the compilation options.
    • Hide
      The --check_misra=20.1 option, which looks for redefined reserved identifiers such as predefined macros, will accidentally suppress warnings about redefinitions of macros that *aren't* predefined. Since those aren't included in the group that 20.1 tests for, no warning will be issued at all.
      Show
      The --check_misra=20.1 option, which looks for redefined reserved identifiers such as predefined macros, will accidentally suppress warnings about redefinitions of macros that *aren't* predefined. Since those aren't included in the group that 20.1 tests for, no warning will be issued at all.

      Checking for MISRA rule 20.1 causes macro redefinition to be ignored

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-1652 - Checking for MISRA rule 20.1 causes...
                SYNCHRONIZED
                • Last Sync Date: