Display_doPrintf() data type for fmt parameter

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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.

            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-2196 - Display_doPrintf() data type for fm...
                SYNCHRONIZED
                • Last Sync Date: