MarcoMartines / GSM-GPRS-GPS-Shield

GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908
GNU General Public License v2.0
207 stars 151 forks source link

problem library errors #48

Open birrohgt opened 7 years ago

birrohgt commented 7 years ago

In file included from E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/Streaming.h:24:0,

             from E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/HWSerial.h:7,

             from E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/SIM900.h:4,

             from C:\Users\FERNAN~1\AppData\Local\Temp\arduino_modified_sketch_366459\Alimentador_automatico.ino:183:

E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/LOG.h:15:17: error: expected unqualified-id before 'const'

  void DEBUG(const char* string);

             ^

E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/LOG.h:15:17: error: expected ')' before 'const'

In file included from E:\Meus documentos\ARDUINO\arduino-1.8.1\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/HWSerial.h:7:0,

in the compilation gives me this error on Arduino Mega