I've compiled ESP Easy before but I recently ran into errors (see below). I am running Atom/Platformio on OS X 10.13.2. I've downloaded various versions of ESP Easy and all of them fail with a similar error. I've even tried to recompile a version that I downloaded in June last year, and successfully compiled at that time. It does not compile today. I've also installed Atom on a new user profile on my Mac as a fresh start. Same result.
The error log is pretty long; this is the first error in red (in the Platformio log)
Code: Select all
lib/IRremoteESP8266/IRMitsubishiAC.cpp:81:44: error: no matching function for call to 'min(unsigned in
t, uint8_t&)'
Code: Select all
lib/IRremoteESP8266/IRMitsubishiAC.cpp:80:44: note: mismatched types 'std::initializer_list<_Tp>' an
d 'unsigned int'
temp = max(MITSUBISHI_AC_MIN_TEMP, temp);
^
In file included from /Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++
/4.8.2/algorithm:61:0,
from /Users/sander/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:240,
from lib/IRremoteESP8266/IRremoteInt.h:33,
from lib/IRremoteESP8266/IRremoteESP8266.h:35,
from lib/IRremoteESP8266/IRMitsubishiAC.h:2,
from lib/IRremoteESP8266/IRMitsubishiAC.cpp:12:
/Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/stl_algoba
se.h:260:5: note: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Com
pare)
max(const _Tp& __a, const _Tp& __b, _Compare __comp)
^
/Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/stl_algoba
se.h:260:5: note: template argument deduction/substitution failed:
lib/IRremoteESP8266/IRMitsubishiAC.cpp:80:44: note: deduced conflicting types for parameter 'const _
Tp' ('unsigned int' and 'uint8_t {aka unsigned char}')
temp = max(MITSUBISHI_AC_MIN_TEMP, temp);
^
In file included from /Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++
/4.8.2/algorithm:61:0,
from /Users/sander/.platformio/packages/framework-arduinoespressif8266/cores/esp8266/Arduino.h:240,
from lib/IRremoteESP8266/IRremoteInt.h:33,
from lib/IRremoteESP8266/IRremoteESP8266.h:35,
from lib/IRremoteESP8266/IRMitsubishiAC.h:2,
from lib/IRremoteESP8266/IRMitsubishiAC.cpp:12:
/Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/stl_algoba
se.h:216:5: note: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
max(const _Tp& __a, const _Tp& __b)
^
/Users/sander/.platformio/packages/toolchain-xtensa/xtensa-lx106-elf/include/c++/4.8.2/bits/stl_algoba
se.h:216:5: note: template argument deduction/substitution failed:
lib/IRremoteESP8266/IRMitsubishiAC.cpp:80:44: note: deduced conflicting types for parameter 'const _
Tp' ('unsigned int' and 'uint8_t {aka unsigned char}')
temp = max(MITSUBISHI_AC_MIN_TEMP, temp);
^
lib/IRremoteESP8266/IRMitsubishiAC.cpp:81:44: error: no matching function for call to 'min(unsigned in
t, uint8_t&)'