Hello,
I am new to Arduino so i need a little help with an error. After compiling my code i get an error message that i don't understand:
Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno"
Build options changed, rebuilding all
Using library GSM in folder: C:\Program Files (x86)\Arduino\libraries\GSM
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Program Files (x86)\Arduino\libraries\GSM\src C:\Users\Ajkula\AppData\Local\Temp\build61473293932482123.tmp\Smart_Box.cpp -o C:\Users\Ajkula\AppData\Local\Temp\build61473293932482123.tmp\Smart_Box.cpp.o
In file included from C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3ShieldV1ModemCore.h:38:0,
from C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3ShieldV1AccessProvider.h:38,
from C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM.h:45,
from Smart_Box.ino:3:
C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3SoftSerial.h: In function 'void setup()':
C:\Program Files (x86)\Arduino\libraries\GSM\src/GSM3SoftSerial.h:83:26: error: local class 'class setup()::GSM3SoftSerial' shall not have static data member 'setup()::GSM3SoftSerial* setup()::GSM3SoftSerial::_activeObject' [-fpermissive]
static GSM3SoftSerial* _activeObject;
^
Error compiling.
I've had some bugs, but I've corrected them all.
Thank you in advance