// at the top
unsigned char TextString[2048]; // a basic string with plenty of room

... // in a function
sprintf((char *)TextString, "This warning clutters things up, making error locations hard...