main.c: In function 'main': main.c:8:9: error: assignment of read-only location '*str' str[0] ='p'; //will return error ^ Here, the statementstr[0]='p'will try to change the first character of the string, thus, the"Error: assignment of read-only location"will occur. ...
.deps/slave.Tpo" ".deps/slave.Po"; \ else rm -f ".deps/slave.Tpo"; exit 1; \ fi slave.cc: In function `int queue_old_event(MASTER_INFO*, const char*, long unsigned int)': slave.cc:3534: error: assignment of read-only location slave.cc:3534: error: assignment of read-only ...