Getting a decent number of errors. Probably the code but I'm not sure i'm new

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: “Arduino/Genuino Uno”

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src/GSM.h:46:0,

from C:\Users\kid’s cuisine\Documents\Arduino\og\og.ino:29:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src/GSM3ShieldV1BandManagement.h:49:125: warning: ‘typedef’ was ignored in this declaration

typedef enum GSM3GSMBand {UNDEFINED, EGSM_MODE, DCS_MODE, PCS_MODE, EGSM_DCS_MODE, GSM850_PCS_MODE, GSM850_EGSM_DCS_PCS_MODE};

^

C:\Users\kid’s cuisine\Documents\Arduino\og\og.ino: In function ‘void setup()’:

C:\Users\kid’s cuisine\Documents\Arduino\og\og.ino:94:34: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

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

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ModemVerification.cpp: In member function ‘String GSM3ShieldV1ModemVerification::getIMEI()’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ModemVerification.cpp:64:20: warning: passing NULL to non-pointer argument 1 of ‘String::String(int, unsigned char)’ [-Wconversion-null]

String number(NULL);

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3MobileMockupProvider.cpp: In constructor ‘GSM3MobileMockupProvider::GSM3MobileMockupProvider()’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3MobileMockupProvider.cpp:44:12: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

msgExample=“Hello#World”;

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3MobileMockupProvider.cpp: In member function ‘int GSM3MobileMockupProvider::connectTCPServer(int, char*, int*)’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3MobileMockupProvider.cpp:183:32: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

strcpy(“192.168.1.1”, localIP);

^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:34:0:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src/GSM3ShieldV1BandManagement.h:49:125: warning: ‘typedef’ was ignored in this declaration

typedef enum GSM3GSMBand {UNDEFINED, EGSM_MODE, DCS_MODE, PCS_MODE, EGSM_DCS_MODE, GSM850_PCS_MODE, GSM850_EGSM_DCS_PCS_MODE};

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp: In constructor ‘GSM3ShieldV1BandManagement::GSM3ShieldV1BandManagement(bool)’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:38:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[UNDEFINED]="";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:39:27: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[EGSM_MODE]="“EGSM_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:40:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[DCS_MODE]="“DCS_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:41:26: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[PCS_MODE]="“PCS_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:42:31: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[EGSM_DCS_MODE]="“EGSM_DCS_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:43:33: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[GSM850_PCS_MODE]="“GSM850_PCS_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1BandManagement.cpp:44:42: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

quectelStrings[GSM850_EGSM_DCS_PCS_MODE]="“GSM850_EGSM_DCS_PCS_MODE”";

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ModemCore.cpp:39:14: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]

char* ok=“OK”;

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ScanNetworks.cpp: In member function ‘String GSM3ShieldV1ScanNetworks::getCurrentCarrier()’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ScanNetworks.cpp:66:21: warning: passing NULL to non-pointer argument 1 of ‘String::String(int, unsigned char)’ [-Wconversion-null]

return String(NULL);

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ScanNetworks.cpp: In member function ‘String GSM3ShieldV1ScanNetworks::getSignalStrength()’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\GSM\src\GSM3ShieldV1ScanNetworks.cpp:85:21: warning: passing NULL to non-pointer argument 1 of ‘String::String(int, unsigned char)’ [-Wconversion-null]

return String(NULL);

^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp: In member function ‘availableForWrite’:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp:203:1: internal compiler error: Segmentation fault

}

^

Please submit a full bug report,

with preprocessed source if appropriate.

See http://gcc.gnu.org/bugs.html for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/…/lib/gcc/avr/5.4.0/…/…/…/…/avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.

project_1.ino (6.08 KB)

Post your errors like code.
When you post code please use code tags as described in Read this before posting a programming question

While you're at it, post the code in your message as well.

I am guessing that your problem is in using the Evil String class.