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

Display_doPrintf() data type for fmt parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • TI Device Drivers
    • TIDRIVERS-3950
    • TIDRIVERS_4_30_00
    • TIDRIVERS_5_10_00
    • All

      The prototype for Display_doPrintf() is:

      void Display_doPrintf(Display_Handle handle, uint8_t line, uint8_t column, char *fmt, ...);

      It should be:

      void Display_doPrintf(Display_Handle handle, uint8_t line, uint8_t column, const char *fmt, ...);

      ...in order to avoid the error: #2824-D conversion from a string literal to "char *" is deprecated. This shows up when compiling C++ code that uses this method and passing in string literals.

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

              Created:
              Updated:
              Resolved: