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

Functions in <string> incorrectly return NULL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Code Generation Tools
    • CODEGEN-5033
    • Hide
      ARM_18.1.0.LTS
      MSP430_18.1.0.LTS
      MSP430_18.9.0.STS
      ARM_18.9.0.STS
      C6000_8.3.0
      Show
      ARM_18.1.0.LTS MSP430_18.1.0.LTS MSP430_18.9.0.STS ARM_18.9.0.STS C6000_8.3.0
    • Hide
      MSP430_18.9.0.STS
      ARM_18.9.0.STS
      ARM_18.1.4.LTS
      C6000_8.3.1
      MSP430_18.1.4.LTS
      Show
      MSP430_18.9.0.STS ARM_18.9.0.STS ARM_18.1.4.LTS C6000_8.3.1 MSP430_18.1.4.LTS
    • Ignore or suppress the warning.
    • Hide
      char_traits<char>::find() and char_traits<wchar_t>::find() return char* and wchar_t*, respectively. In our __string file (included by <string>), they are written to return NULL, which is (void*)0 and not the same type as the declaration, thus producing a warning. We have updated the file to make them return 0, which fixes the warnings.
      Show
      char_traits<char>::find() and char_traits<wchar_t>::find() return char* and wchar_t*, respectively. In our __string file (included by <string>), they are written to return NULL, which is (void*)0 and not the same type as the declaration, thus producing a warning. We have updated the file to make them return 0, which fixes the warnings.

      Functions in <string> incorrectly return NULL

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

              Created:
              Updated:
              Resolved: