I Get Only initialized variables can be placed into program memory area Warning

 client.print(F("<input type='radio' name='L' value='1'>LED1 ON
"));

On the verbose compile info area I get this:

warning: only initialized variables can be placed into program memory area

Is the code above incorrect… and I cannot use F() on input type commands the problem?
I was under the impression i could use this on all client print type commands to save ram memory…

Thanks for any Help

Joe

Joe It is an annoying warning that is not true. So the info is put into program memory. I sued the trick as described here http://arduino.cc/forum/index.php/topic,85840.0.html to avoid the warning. It did move the data in the program space. Best regards Jantje

Jantje,

I went to the other post....hmmm - looks like it is just a warning and does not affect operation.

Hopefully it [u]actually[/u] does put my clientprint input command buttons into pgm mem

Thanks

Joe

Yes, it works fine. Just a warning. But warnings often communicate useful information. Warnings like this are annoying. Note that this is fixed in gcc 4.6.2.