We are trying to use your library in an embedded system with a really strict compile environment. We noticed that in lines 491 (isupper) , 580 (isspace), 606 (isspace) you make such calls with a char subscript. However some compile options (-Werror=char-subscripts) and some libraries enforce int subscripts and will compile fail with error: array subscript has type char.
The fix is simple use an int variable for subscript or at least cast it to int like:
Hello,
We are trying to use your library in an embedded system with a really strict compile environment. We noticed that in lines 491 (isupper) , 580 (isspace), 606 (isspace) you make such calls with a char subscript. However some compile options (-Werror=char-subscripts) and some libraries enforce int subscripts and will compile fail with error: array subscript has type char.
The fix is simple use an int variable for subscript or at least cast it to int like:
isspace(((int)str[i])
or
Regards,
DM