Compiler crash when add EasyTransfer library
Created by: choncba
Hello everyone, first of all I want to congratulate the creator of this excellent library. I use a ESP8266 ESP12 , in one of my projects I use EasyTransfer library (https://github.com/madsci1016/Arduino-EasyTransfer) to synchronize with another arduino via serial link. When trying to compile ArduinoJSON with this compiler fails with the following message:
ArduinoJson.hpp:11: In file included from
ArduinoJson.h:8: from
ArduinoJson.h:8: from
RiegoControlV4ESP.ino:47: from
JsonArray.hpp: In instantiation of typename ArduinoJson::Internals::JsonVariantAs<T>::type ArduinoJson::JsonArray::get(size_t) const [with T = char; typename ArduinoJson::Internals::JsonVariantAs<T>::type = char; size_t = unsigned int]
JsonArraySubscript.hpp:55: required from typename ArduinoJson Internals JsonVariantAs<T> type ArduinoJson JsonArraySubscript as() const [with T = char; typename ArduinoJson Internals JsonVariantAs<T> type = char]
JsonVariantBase.hpp:61: required from const typename ArduinoJson Internals JsonVariantAs<T> type ArduinoJson JsonVariantBase<TImpl> as() const [with T = char; TImpl = ArduinoJson JsonArraySubscript; typename ArduinoJson Internals JsonVariantAs<T> type = char]
JsonVariantBase.hpp:56: required from ArduinoJson JsonVariantBase<TImpl> operator T() const [with T = char; TImpl = ArduinoJson JsonArraySubscript]
RiegoControlV4ESP.ino:583: required from here
JsonArray.hpp: 142:17: error: no matching function for call to 'ArduinoJson::JsonVariant::as()
JsonVariant::defaultValue<T>()
JsonArray.hpp:142: note candidates are
This library uses malloc () to allocate memory.
Any ideas?
Thanks.-