MKR GPS library error?

board: MKR1010 WiFi
shield: MKR GPS
location of Arduino Compiler: X:___Software\Arduino_1_8_9\ <<-- Actually using version 1.8.13

When I Verify or Compile, I get a message that:
X:___Software\Arduino_1_8_9\ArduinoSketches\libraries\Arduino_MKRGPS\src\minmea\minmea.c: In function ‘minmea_gettime’:
X:___Software\Arduino_1_8_9\ArduinoSketches\libraries\Arduino_MKRGPS\src\minmea\minmea.c:624:15: error: storage size of ‘tm’ isn’t known
struct tm tm;
^~

I check the library and the struct looks ok and was downloaded from the Arduino website. Should it work out of the box?

… and the code continues above …
619 int minmea_gettime(struct timespec *ts, const struct minmea_date *date, const struct minmea_time *time_)
620 {
621 if (date->year == -1 || time_->hours == -1)
622 return -1;
623
624 struct tm tm;
625 memset(&tm, 0, sizeof™);
… and the code continues below …

Hi @alesdairquinn. I’m going to ask you to post some additional information that will allow me to provide specific instructions for fixing this error.

Please do this:

  1. Select File > Preferences from the Arduino IDE’s menus.
  2. Check the box next to “Show verbose output during: > compilation”.
  3. Click “OK”
  4. Select Sketch > Verify/Compile from the Arduino IDE’s menus.
  5. After the compilation fails you’ll see a button on the right side of the orange bar Copy error messages. Click that button.
  6. In a forum reply here, click on the reply field.
  7. Click the </> button on the forum toolbar. This will add the forum’s code block markup (```) to your reply to make sure the error messages are correctly formatted.
  8. Press “Ctrl + V”. This will paste the compilation output into a code block.
  9. Move the cursor outside of the code tags before you add any additional text to your reply.

Was this issue ever resolved? I am having the same issue with a program that uses MKR GPS, MKR SD Proto Board, LDC Display. Sometime when I compile I get the following error: "C:.....\Documents\Arduino\libraries\Arduino_MKRGPS\src\minmea\minmea.c:624:15: error: storage size of 'tm' isn't known
struct tm tm; "

If I comment out any reference to the function breakTime(), it will compile. I can then remove the comments and the program will compile again fine. However, the error keeps coming back after a while and I have to repeat the process of comment out some code, compiling, then removing the comments. I am wondering if there is a conflict between some libraries.

Thanks!

Arduino: 1.8.13 (Windows 10), Board: "Arduino MKR WiFi 1010"





















X:\______cabs\__Arduino software builds\arduino-1.8.13\arduino-builder -dump-prefs -logger=machine -hardware X:\______cabs\__Arduino software builds\arduino-1.8.13\hardware -hardware C:\Users\Richard\AppData\Local\Arduino15\packages -tools X:\______cabs\__Arduino software builds\arduino-1.8.13\tools-builder -tools X:\______cabs\__Arduino software builds\arduino-1.8.13\hardware\tools\avr -tools C:\Users\Richard\AppData\Local\Arduino15\packages -built-in-libraries X:\______cabs\__Arduino software builds\arduino-1.8.13\libraries -libraries X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries -fqbn=arduino:samd:mkrwifi1010 -vid-pid=2341_0042 -ide-version=10813 -build-path C:\Users\Richard\AppData\Local\Temp\arduino_build_962007 -warnings=none -build-cache C:\Users\Richard\AppData\Local\Temp\arduino_cache_552784 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.openocd.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose X:\___Software\Arduino_1_8_9\ArduinoSketches\GPS_BInaryClock_v2p10_DotStar\GPS_BInaryClock_v2p10_DotStar.ino

X:\______cabs\__Arduino software builds\arduino-1.8.13\arduino-builder -compile -logger=machine -hardware X:\______cabs\__Arduino software builds\arduino-1.8.13\hardware -hardware C:\Users\Richard\AppData\Local\Arduino15\packages -tools X:\______cabs\__Arduino software builds\arduino-1.8.13\tools-builder -tools X:\______cabs\__Arduino software builds\arduino-1.8.13\hardware\tools\avr -tools C:\Users\Richard\AppData\Local\Arduino15\packages -built-in-libraries X:\______cabs\__Arduino software builds\arduino-1.8.13\libraries -libraries X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries -fqbn=arduino:samd:mkrwifi1010 -vid-pid=2341_0042 -ide-version=10813 -build-path C:\Users\Richard\AppData\Local\Temp\arduino_build_962007 -warnings=none -build-cache C:\Users\Richard\AppData\Local\Temp\arduino_cache_552784 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.bossac.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.CMSIS.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.openocd.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -verbose X:\___Software\Arduino_1_8_9\ArduinoSketches\GPS_BInaryClock_v2p10_DotStar\GPS_BInaryClock_v2p10_DotStar.ino

Using board 'mkrwifi1010' from platform in folder: C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11

Using core 'arduino' from platform in folder: C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11

Detecting libraries used...

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Arduino_MKRGPS.h: [Arduino_MKRGPS@1.0.0]

ResolveLibrary(Arduino_MKRGPS.h)

  -> candidates: [Arduino_MKRGPS@1.0.0]

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Wire.h: [Wire@1.0]

ResolveLibrary(Wire.h)

  -> candidates: [Wire@1.0]

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for TimeLib.h: [Time@1.6]

ResolveLibrary(TimeLib.h)

  -> candidates: [Time@1.6]

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for Adafruit_DotStar.h: [Adafruit_DotStar@1.1.4]

ResolveLibrary(Adafruit_DotStar.h)

  -> candidates: [Adafruit_DotStar@1.1.4]

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for SPI.h: [SPI@1.0]

ResolveLibrary(SPI.h)

  -> candidates: [SPI@1.0]

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src\\GPS.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src\\minmea\\minmea.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src\\utility\\SerialDDC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire\\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time\\DateStrings.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time\\Time.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar\\Adafruit_DotStar.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI\\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"X:\\______cabs\\__Arduino software builds\\arduino-1.8.13\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp" -o "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\sketch\\GPS_BInaryClock_v2p10_DotStar.ino.cpp.o"

Compiling libraries...

Compiling library "Arduino_MKRGPS"

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src\\GPS.cpp" -o "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\libraries\\Arduino_MKRGPS\\GPS.cpp.o"

"C:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-gcc" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -nostdlib --param max-inline-insns-single=500 -MMD -DF_CPU=48000000L -DARDUINO=10813 -DARDUINO_SAMD_MKRWIFI1010 -DARDUINO_ARCH_SAMD -DUSE_ARDUINO_MKR_PIN_LAYOUT -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x8054 -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino MKR WiFi 1010\"" -DUSE_BQ24195L_PMIC "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\mkrwifi1010" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\Wire" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Time" "-IX:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Adafruit_DotStar" "-IC:\\Users\\Richard\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\libraries\\SPI" "X:\\___Software\\Arduino_1_8_9\\ArduinoSketches\\libraries\\Arduino_MKRGPS\\src\\minmea\\minmea.c" -o "C:\\Users\\Richard\\AppData\\Local\\Temp\\arduino_build_962007\\libraries\\Arduino_MKRGPS\\minmea\\minmea.c.o"

X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Arduino_MKRGPS\src\minmea\minmea.c: In function 'minmea_gettime':

X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Arduino_MKRGPS\src\minmea\minmea.c:624:15: error: storage size of 'tm' isn't known

     struct tm tm;

               ^~

Using library Arduino_MKRGPS at version 1.0.0 in folder: X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Arduino_MKRGPS 

Using library Wire at version 1.0 in folder: C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\libraries\Wire 

Using library Time at version 1.6 in folder: X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Time 

Using library Adafruit_DotStar at version 1.1.4 in folder: X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Adafruit_DotStar 

Using library SPI at version 1.0 in folder: C:\Users\Richard\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11\libraries\SPI 

exit status 1

Error compiling for board Arduino MKR WiFi 1010.


This error only happens with Arduino 1.8.13, and Arduino IDE. I have a work-around by using Arduino Create, but I would prefer to use the 1.8.13 compiler on my PC (Win10).

No, I have been using Arduino Create instead as a work-around. I did not get an email notification fo the previous question regarding my issue. I have replied now, thanks to your question. I hope they are able to find and resolve the issue so neither of us need to do work-arounds. Blessings, Rev Rick

Thanks @alesdairquinn . I was using a prior IDE (beleive it was 1.8.6) with the same issue. I now tried with Arduino Create and it works for me too. Better than my work-around which was very time consuming. Hopefully there will be a fix for this. Seems like it may be some conflict between <time.h> library and the MKR GPS library. Best, RM

OK, that is the information I was looking for.
Try deleting this file:

X:\___Software\Arduino_1_8_9\ArduinoSketches\libraries\Time\Time.h

Doing so should have no effect on the Time library because Time.h only includes TimeLib.h.

The only reason for the existence of the Time.h file is to provide backwards compatibility with old sketches that use that filename. The primary source code filenames were changed from Time to TimeLib specifically because of the sort of problems like what you are having. The toolchain contains a file named time.h (note the lowercase "t" in the filename). On a case insensitive file system like your Windows, there is no difference between Time.h and time.h filenames. So the Arduino_MKRGPS library's #include directive for time.h ends up using the Time library's Time.h, even though that is a completely different thing from time.h.

Then why did it also not work in Arduino IDE which is an online use?

I'm sorry, but I can't understand your question. Please provide a detailed description of what you mean by "Arduino IDE which is an online use" in order to allow me to provide an answer.

Thank you, @pert . Solution worked for me. Appreciate the help with this.

You're welcome. I'm glad to hear it's working now. Enjoy!
Per

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.