In include/pic16/string.h, all the prototypes are non-const-correct. Things like memcpy, strcpy, strlen, and many others take non-const source parameters in their prototypes. This is in v3.0.0. There was even bug #1568836 about fixing const-correctness in memcpypgm2ram, but that only fixed const correctness in a local variable used in the function, not in the parameter types.
Log in to post a comment.