You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'bool FirebaseObject::isNullString(const String&) const':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:71:57: warning: 'const char* ArduinoJson::Internals::JsonVariantCasts::asString() const [with TImpl = ArduinoJson::JsonVariant]' is deprecated (declared at c:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonVariantCasts.hpp:28): use as<char*>() instead [-Wdeprecated-declarations]
return variant.is<const char >() && variant.asString() == NULL;
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'ArduinoJson::JsonVariant FirebaseObject::getJsonVariant(const String&) const':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:91:26: warning: 'ArduinoJson::JsonObject& ArduinoJson::Internals::JsonVariantCasts::asObject() const [with TImpl = ArduinoJson::JsonVariant]' is deprecated (declared at c:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonVariantCasts.hpp:23): use as() instead [-Wdeprecated-declarations]
json = json.asObject().get(start);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'void FirebaseStream::startStreaming(const string&, const string&, const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:91:48: warning: deprecated conversion from string constant to 'char' [-Wwrite-strings]
analyzeError("STREAM", status, path_with_auth);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'String FirebaseArduino::push(const String&, const ArduinoJson::JsonVariant&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::set(const String&, const ArduinoJson::JsonVariant&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:94:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "PUT", path.c_str(), buf);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::getRequest(const String&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:101:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "GET", path.c_str());
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual void FirebaseArduino::remove(const String&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:147:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "DELETE", path.c_str());
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual const String& FirebaseArduino::error()':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:201:33: warning: returning reference to temporary [-Wreturn-local-addr]
return error_.message().c_str();
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: warning: 'bool HTTPClient::begin(String, String)' is deprecated (declared at C:\Users\super\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:177) [-Wdeprecated-declarations]
http_.begin(url.c_str(), kFirebaseFingerprint);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:80: warning: 'bool HTTPClient::begin(String, uint16_t, String, String)' is deprecated (declared at C:\Users\super\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:178) [-Wdeprecated-declarations]
http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
^
The text was updated successfully, but these errors were encountered:
In case anyone face same problem in future, downgrading ESP8266 board and ArduinoJSON library is only option as of now (September 2023).
Steps to do same:- https://www.youtube.com/watch?v=m3Xb9GB9SI8
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'bool FirebaseObject::isNullString(const String&) const':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:71:57: warning: 'const char* ArduinoJson::Internals::JsonVariantCasts::asString() const [with TImpl = ArduinoJson::JsonVariant]' is deprecated (declared at c:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonVariantCasts.hpp:28): use as<char*>() instead [-Wdeprecated-declarations]
return variant.is<const char >() && variant.asString() == NULL;
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'ArduinoJson::JsonVariant FirebaseObject::getJsonVariant(const String&) const':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:91:26: warning: 'ArduinoJson::JsonObject& ArduinoJson::Internals::JsonVariantCasts::asObject() const [with TImpl = ArduinoJson::JsonVariant]' is deprecated (declared at c:\Users\super\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/../JsonVariantCasts.hpp:23): use as() instead [-Wdeprecated-declarations]
json = json.asObject().get(start);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'void FirebaseStream::startStreaming(const string&, const string&, const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:91:48: warning: deprecated conversion from string constant to 'char' [-Wwrite-strings]
analyzeError("STREAM", status, path_with_auth);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'String FirebaseArduino::push(const String&, const ArduinoJson::JsonVariant&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:79: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::set(const String&, const ArduinoJson::JsonVariant&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:94:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "PUT", path.c_str(), buf);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::getRequest(const String&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:101:60: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "GET", path.c_str());
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual void FirebaseArduino::remove(const String&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:147:63: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
req_.get()->sendRequest(host_, auth_, "DELETE", path.c_str());
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual const String& FirebaseArduino::error()':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:201:33: warning: returning reference to temporary [-Wreturn-local-addr]
return error_.message().c_str();
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: warning: 'bool HTTPClient::begin(String, String)' is deprecated (declared at C:\Users\super\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:177) [-Wdeprecated-declarations]
http_.begin(url.c_str(), kFirebaseFingerprint);
^
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
c:\Users\super\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:80: warning: 'bool HTTPClient::begin(String, uint16_t, String, String)' is deprecated (declared at C:\Users\super\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:178) [-Wdeprecated-declarations]
http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
^
The text was updated successfully, but these errors were encountered: