attribute((unpacked)) fails to override --enum_type=packed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • Code Generation Tools
    • CODEGEN-7600
    • Hide
      C6000_8.2.0
      C6000_8.3.0
      MSP430_20.2.0.LTS
      ARM_18.12.0.LTS
      MSP430_18.12.0.LTS
      PRU_2.3.0
      ARM_20.2.0.LTS
      C2000_18.12.0.LTS
      ARP32_1.0.9
      C2000_20.2.0.LTS
      Show
      C6000_8.2.0 C6000_8.3.0 MSP430_20.2.0.LTS ARM_18.12.0.LTS MSP430_18.12.0.LTS PRU_2.3.0 ARM_20.2.0.LTS C2000_18.12.0.LTS ARP32_1.0.9 C2000_20.2.0.LTS
    • Hide
      ARM_18.12.6.LTS*
      MSP430_20.2.2.LTS*
      C2000_20.2.2.LTS*
      C2000_18.12.6.LTS*
      C6000_8.3.8*
      MSP430_18.12.6.LTS*
      PRU_2.3.4*
      ARM_20.2.2.LTS*
      Show
      ARM_18.12.6.LTS* MSP430_20.2.2.LTS* C2000_20.2.2.LTS* C2000_18.12.6.LTS* C6000_8.3.8* MSP430_18.12.6.LTS* PRU_2.3.4* ARM_20.2.2.LTS*
    • default

      Attaching the GNU-like attribute _attribute((packed)) to an enumeraetd type declaration will override the command line option --enum_type=unpacked, but __attribute((unpacked_)) cannot override --enum_type=packed. The attribute should always take precedence.

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

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-2360 - attribute((unpacked)) fails to over...
                SYNCHRONIZED
                • Last Sync Date: