Compile Error with esp8266/Arduino 2.4.0
-
Hello,
When compiling with esp8266/Arduino 2.4.0, I've got:
C:\Users\john\Documents\Arduino\libraries\MyControllerDevice\McMessage.cpp: In member function 'char* McMessage::getString(char*) const': C:\Users\john\Documents\Arduino\libraries\MyControllerDevice\McMessage.cpp:112:41: error: no matching function for call to 'min(const uint8_t&, int)' dtostrf(fValue,2,min(fPrecision, 8),buffer);
From 2.4.0 release notes:
Remove min, max, isnan, isinf macros, use tempmlates from std:: instead. -
@emmanuel Thanks for reporting this issue. Created an issue to track this one.
https://github.com/mycontroller-org/MyControllerDevice/issues/17