Hi folks,
In CCSv6.1.3.00034 I have come across an issue with a ULP advisor rule 14.1 (marked as #2553-D, though I'm not sure what that refers to)
I have a 16-bit integer declared using the stdint.h data type (i.e. int16_t i = 0;) that is used as an array index.
Yet when used, ULP advises that: " Array index (involving "i") of type "int16_t". Recommend using "int16_t"", which of course seems to state that int16_t is incorrect because it's not int16_t... which is obviously nonsensical.
I take it it's looking for use of a particular definition of int16_t maybe?
Furthermore, is a size_t type not the C recommended type to use for indexing arrays?