[ERROR]
Constant objects can not be changed.
int* const pi;
void main(void) {
*pi++;
}
Either do not declare the object as constant or use a different constant for the new value. In the case above, use parenthesis to increment the value pi points to and to not increment pi itself.
int* const pi;
void main(void) {
(*pi)++;
}