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\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'bool FirebaseObject::isNullString(const String&) const':
C:\Users\nitis\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: use as<char*>() instead [-Wdeprecated-declarations]
71 | return variant.is<const char >() && variant.asString() == NULL;
| ^
In file included from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantBase.hpp:7,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariant.hpp:13,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\jsonbuffer.hpp:12,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.h:24,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:17:
c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantCasts.hpp:28:28: note: declared here
28 | FORCE_INLINE const char asString() const {
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'ArduinoJson::JsonVariant FirebaseObject::getJsonVariant(const String&) const':
C:\Users\nitis\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: use as() instead [-Wdeprecated-declarations]
91 | json = json.asObject().get(start);
| ^
In file included from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantBase.hpp:7,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariant.hpp:13,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\jsonbuffer.hpp:12,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.h:24,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:17:
c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantCasts.hpp:23:28: note: declared here
23 | FORCE_INLINE JsonObject &asObject() const {
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\throw_out_of_range.cpp: In function 'void std::__throw_out_of_range(const char)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\throw_out_of_range.cpp:6:61: warning: unused parameter 'str' [-Wunused-parameter]
6 | void attribute((weak)) __throw_out_of_range(const char str) {
| ~~~~~~~~~~~~^~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'String FirebaseArduino::push(const String&, const ArduinoJson::JsonVariant&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
65 | int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
| ^~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:7: warning: unused variable 'status' [-Wunused-variable]
65 | int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
| ^~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::set(const String&, const ArduinoJson::JsonVariant&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:94:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
94 | req_.get()->sendRequest(host_, auth_, "PUT", path.c_str(), buf);
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::getRequest(const String&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:101:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
101 | req_.get()->sendRequest(host_, auth_, "GET", path.c_str());
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual void FirebaseArduino::remove(const String&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:147:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
147 | req_.get()->sendRequest(host_, auth_, "DELETE", path.c_str());
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual const String& FirebaseArduino::error()':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:201:32: warning: returning reference to temporary [-Wreturn-local-addr]
201 | return error_.message().c_str();
| ~~~~~~~~~~~~~~~~~~~~~~^~
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.cpp:1:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.h:82:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
82 | const void AddToJson(const FirebaseCloudMessage& message, JsonObject& json) const;
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'int FirebaseRequest::sendRequest(const string&, const string&, char*, const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:78:1: warning: no return statement in function returning non-void [-Wreturn-type]
78 | }
| ^
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'void FirebaseStream::startStreaming(const string&, const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:91:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
91 | analyzeError("STREAM", status, path_with_auth);
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.cpp:79:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
79 | const void FirebaseCloudMessaging::AddToJson(
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") attribute ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266WiFi
Using library firebase-arduino-master at version 0.1 in folder: C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master
Using library ArduinoJson at version 5.13.5 in folder: C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson
Using library ESP8266HTTPClient at version 1.2 in folder: C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
The text was updated successfully, but these errors were encountered:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'bool FirebaseObject::isNullString(const String&) const':
C:\Users\nitis\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: use as<char*>() instead [-Wdeprecated-declarations]
71 | return variant.is<const char >() && variant.asString() == NULL;
| ^
In file included from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantBase.hpp:7,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariant.hpp:13,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\jsonbuffer.hpp:12,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.h:24,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:17:
c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantCasts.hpp:28:28: note: declared here
28 | FORCE_INLINE const char asString() const {
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp: In member function 'ArduinoJson::JsonVariant FirebaseObject::getJsonVariant(const String&) const':
C:\Users\nitis\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: use as() instead [-Wdeprecated-declarations]
91 | json = json.asObject().get(start);
| ^
In file included from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantBase.hpp:7,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariant.hpp:13,
from c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\jsonbuffer.hpp:12,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/Deserialization/JsonParser.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/JsonBufferBase.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson/DynamicJsonBuffer.hpp:7,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.hpp:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson\src/ArduinoJson.h:9,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.h:24,
from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseObject.cpp:17:
c:\users\nitis\onedrive\documents\arduino\libraries\arduinojson\src\arduinojson\JsonVariantCasts.hpp:23:28: note: declared here
23 | FORCE_INLINE JsonObject &asObject() const {
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\throw_out_of_range.cpp: In function 'void std::__throw_out_of_range(const char)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\throw_out_of_range.cpp:6:61: warning: unused parameter 'str' [-Wunused-parameter]
6 | void attribute((weak)) __throw_out_of_range(const char str) {
| ~~~~~~~~~~~~^~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'String FirebaseArduino::push(const String&, const ArduinoJson::JsonVariant&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
65 | int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
| ^~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:65:7: warning: unused variable 'status' [-Wunused-variable]
65 | int status = req_.get()->sendRequest(host_, auth_, "POST", path.c_str(), buf);
| ^~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::set(const String&, const ArduinoJson::JsonVariant&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:94:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
94 | req_.get()->sendRequest(host_, auth_, "PUT", path.c_str(), buf);
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'void FirebaseArduino::getRequest(const String&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:101:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
101 | req_.get()->sendRequest(host_, auth_, "GET", path.c_str());
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual void FirebaseArduino::remove(const String&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:147:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
147 | req_.get()->sendRequest(host_, auth_, "DELETE", path.c_str());
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp: In member function 'virtual const String& FirebaseArduino::error()':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseArduino.cpp:201:32: warning: returning reference to temporary [-Wreturn-local-addr]
201 | return error_.message().c_str();
| ~~~~~~~~~~~~~~~~~~~~~~^~
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.cpp:1:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.h:82:3: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
82 | const void AddToJson(const FirebaseCloudMessage& message, JsonObject& json) const;
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'int FirebaseRequest::sendRequest(const string&, const string&, char*, const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:78:1: warning: no return statement in function returning non-void [-Wreturn-type]
78 | }
| ^
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp: In member function 'void FirebaseStream::startStreaming(const string&, const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\Firebase.cpp:91:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
91 | analyzeError("STREAM", status, path_with_auth);
| ^~~~~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseCloudMessaging.cpp:79:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
79 | const void FirebaseCloudMessaging::AddToJson(
| ^~~~~
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
166 | bool begin(String host, uint16_t port, String uri = "/") attribute ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
| ^~~~~
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
167 | bool begin(String url, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ^~~~~
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
47 | http_.begin(url.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
| ^~~~~~~~~~~~~~~~~~~~
| |
| const char*
In file included from C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266WiFi
Using library firebase-arduino-master at version 0.1 in folder: C:\Users\nitis\OneDrive\Documents\Arduino\libraries\firebase-arduino-master
Using library ArduinoJson at version 5.13.5 in folder: C:\Users\nitis\OneDrive\Documents\Arduino\libraries\ArduinoJson
Using library ESP8266HTTPClient at version 1.2 in folder: C:\Users\nitis\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient
exit status 1
Error compiling for board NodeMCU 1.0 (ESP-12E Module).
The text was updated successfully, but these errors were encountered: