Hi, while compiling the files I am getting constantly the following error message. Can someone kindly assist? Many thanks
In file included from C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\Jarolift_MQTT_new.ino:57:0:
C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h: In function 'String decodeURIComponent(String)':
C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h:156:37: error: 'stoi' is not a member of 'std'
std::string rc = {(char)std::stoi(haystack, nullptr, 16)};
^
C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h:156:69: error: could not convert '{}' from '' to 'std::string {aka std::basic_string}'
std::string rc = {(char)std::stoi(haystack, nullptr, 16)};
^
Hi, while compiling the files I am getting constantly the following error message. Can someone kindly assist? Many thanks
In file included from C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\Jarolift_MQTT_new.ino:57:0: C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h: In function 'String decodeURIComponent(String)': C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h:156:37: error: 'stoi' is not a member of 'std' std::string rc = {(char)std::stoi(haystack, nullptr, 16)}; ^ C:\Users\xxx\Arduino\jaro\Jarolift_MQTT_new\helpers.h:156:69: error: could not convert '{}' from '' to 'std::string {aka std::basic_string}'
std::string rc = {(char)std::stoi(haystack, nullptr, 16)};
^