We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am using Keil version 5.0, and want to embed unreferenced text in a source file e.g.
static code char desc[] ="Version 1.20";
Do you ever reference the code? Or is this just some text you want to be able to see via your debugger, or whatever? If it's never referenced, then you'll obviously get a warning (16) to that effect!
The only way I could get rid of the message is to add the following somewhere in the code.
char *dummy = desc;
This is not a problem with latest version of the compiler.