thinger-io / Arduino-Library

IOTMP Arduino Library for connecting devices to thinger.io #IoT
https://thinger.io
MIT License
111 stars 66 forks source link

Compile Error for ThingerMKRGSM #31

Closed gigagarfield closed 2 years ago

gigagarfield commented 4 years ago

Hi, i get the following compile error when including ThingerMKRGSM.h

Arduino: 1.8.12 (Mac OS X), Board: "Arduino MKR GSM 1400"

In file included from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/bits/char_traits.h:39:0, from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/string:40, from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/stdexcept:39, from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/array:39, from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/tuple:39, from /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/functional:54, from /Users/chm/Documents/Arduino/libraries/thinger.io/src/thinger/thinger_resource.hpp:33, from /Users/chm/Documents/Arduino/libraries/thinger.io/src/thinger/thinger.h:29, from /Users/chm/Documents/Arduino/libraries/thinger.io/src/ThingerClient.h:28, from /Users/chm/Documents/Arduino/libraries/thinger.io/src/ThingerMKRGSM.h:32, from /Users/chm/Desktop/sketch_mar01a/sketch_mar01a.ino:1: /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/bits/stl_algobase.h:243:56: error: macro "min" passed 3 arguments, but takes just 2 min(const _Tp& a, const _Tp& __b, _Compare comp) ^ /Users/chm/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/arm-none-eabi/include/c++/7.2.1/bits/stl_algobase.h:265:56: error: macro "max" passed 3 arguments, but takes just 2 max(const _Tp& a, const _Tp& __b, _Compare comp) ^ exit status 1 Fehler beim Kompilieren für das Board Arduino MKR GSM 1400.