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

TIPOSIX -- TI Clang include_next calls fail if multiple time.h files are on include path

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Implemented
    • Icon: High High
    • TIRTOS
    • TIRTOS-2140
    • TIRTOS_5_60_00
    • TIRTOS_5_70_00
    • All

      TI Clang's posix headers use the `include_next` construct to forward an include of e.g. time.h to the TI Clang toolchain's copy of time.h. This construct is not recommended by anyone and in our case fails if the POSIX source and SDK are both on the include path.

      Including <../../include/c/time.h> is a safer way to be confident this is the TI Clang toolchain header rather than another time.h.

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

              Created:
              Updated:
              Resolved: