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

C++ enum class with explicit type has some problems

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5791
    • Hide
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      C2000_19.6.0.STS
      C2000_18.1.0.LTS
      C6000_8.3.0
      ARM_18.12.0.LTS
      PRU_2.4.0*
      ARM_19.6.0.STS
      PRU_2.3.0
      C2000_18.12.0.LTS
      Show
      ARM_18.1.0.LTS MSP430_18.1.0.LTS C2000_19.6.0.STS C2000_18.1.0.LTS C6000_8.3.0 ARM_18.12.0.LTS PRU_2.4.0* ARM_19.6.0.STS PRU_2.3.0 C2000_18.12.0.LTS
    • Hide
      C2000_19.6.0.STS
      ARM_18.1.6.LTS
      MSP430_18.1.6.LTS
      C2000_18.1.6.LTS
      PRU_2.3.2
      C2000_18.12.2.LTS
      PRU_2.4.0*
      ARM_19.6.0.STS
      ARM_18.12.2.LTS
      C6000_8.3.4
      Show
      C2000_19.6.0.STS ARM_18.1.6.LTS MSP430_18.1.6.LTS C2000_18.1.6.LTS PRU_2.3.2 C2000_18.12.2.LTS PRU_2.4.0* ARM_19.6.0.STS ARM_18.12.2.LTS C6000_8.3.4
    • Avoid specifying an explicit base type for an enum.
    • Hide
      Values of a C++ enum class type with an explicit base type may not be cast properly to and from integral types. The exact conditions depend on undefined behavior, and thus are not 100% predictable; the known cases happen only on Windows, though the compiler uses the same codebase on all platforms.
      Show
      Values of a C++ enum class type with an explicit base type may not be cast properly to and from integral types. The exact conditions depend on undefined behavior, and thus are not 100% predictable; the known cases happen only on Windows, though the compiler uses the same codebase on all platforms.

      C++ enum class with explicit type has some problems

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

              Created:
              Updated:
              Resolved: