const keyword warning

In DC 9.62, the following line:

const char *DurationMsg[] = {“Top”, “Face”};

Generates the following warning:

Initialized variables are places in flash as constants. User keyword ‘const’ to remove this warning.

I believe I am using the const keyword. What’s wrong?

DC8.61 compiles the same line without the warning.


I know this is an old post but I have the exact same problem, is this a known bug in 9.62?


try this:

const char * const DurationMsg[] = {“Top”, “Face”};