problem using examples for ethernet and gsm shields

Hi, I recently by an ethernet and a gsm shield.

When I test it with examples, I have compilation troubleshootings.

With the SendSMS example I got this :

In file included from C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM.h:46:0,

from C:\Users\julien\AppData\Local\Temp\arduino_88a2e6ff87979bd119803526e1f185ff\SendSMS.ino:25:

C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3ShieldV1BandManagement.h:49:125: warning: 'typedef' was ignored in this declaration [enabled by default]



C:\Users\julien\AppData\Local\Temp\arduino_88a2e6ff87979bd119803526e1f185ff\SendSMS.ino: In function 'void setup()':

C:\Users\julien\AppData\Local\Temp\arduino_88a2e6ff87979bd119803526e1f185ff\SendSMS.ino:48:34: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]

if (gsmAccess.begin(PINNUMBER) == GSM_READY) {


Le croquis utilise 14 506 octets (44%) de l'espace de stockage de programmes. Le maximum est de 32 256 octets. Les variables globales utilisent 982 octets (47%) de mémoire dynamique, ce qui laisse 1 066 octets pour les variables locales. Le maximum est de 2 048 octets.

Can you help me understanding what hapen, and how to solve that.


I've tried to compile the same example on linux, and it work.

Why Doesn't it work under windows 8.1?

You might have File > Preferences > Compiler Warnings: None on the linux installation. These warnings are probably nothing to worry about. It is best practice to write code that causes no warnings at all but unfortunately the Arduino developers don't follow this practice. I would recommend you to turn on compiler warnings and pay attention to them(and fix them!) in your own code but not to worry too much about them in the Arduino libraries.