Need help on compilng Sample code on SPEECH SYNTHESIS SHIELD

I tried to run to sample code, but I got a lot of this errors (see attached jpg)
warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Pls adv. thanks
warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Pls adv. thanks

2017-06-15 19:42:02 I did put the switch to PROG mode, and compile. My arduino version 1.8.1. Maybe I need to try the lower version.
ssleung2003

2017-06-14 22:37:12 Can't read your attachment clearly, I used a mega and my IDE version is 1.6.5, the sample code works ok, did you put the switch on Prog mode?
shuaichen_qilin
