I'm updating some old AVR C code that's been building with gcc ver 3.4.3, trying to get it to compile cleanly with ver 4.2.2.
Everything goes well except that several places where I've tried to use tables of function pointers in PROGMEM as part of a crude command decoding mechanism provokes the following warning messge from the compiler:
warning: only initialized variables can be placed into program memory area
I've spent a couple hours looking through the forums and tutorials. Although I did find one other posting that mentioned this warning message, I didn't see any answer to the question of whether this warning message is a legitimate one, and, if so, how the offending source code could be changed to prevent the warning. Is there advice on this point?
Thanks in advance!