Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
328 stars 159 forks source link

Outdated? #236

Closed finnie2006 closed 2 years ago

finnie2006 commented 2 years ago
C:\Users\Finnt\Downloads\marquee-scroller-master\marquee\NewsApiClient.cpp: In member function 'void NewsApiClient::updateNews()':

NewsApiClient.cpp:49:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

   49 |   http.begin(apiGetData);

      |   ~~~~~~~~~~^~~~~~~~~~~~

C:\Users\Finnt\Downloads\marquee-scroller-master\marquee\PiHoleClient.cpp: In member function 'void PiHoleClient::getGraphData(String, int)':

PiHoleClient.cpp:155:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

  155 |   http.begin(apiGetData);

      |   ~~~~~~~~~~^~~~~~~~~~~~

C:\Users\Finnt\Downloads\marquee-scroller-master\marquee\PiHoleClient.cpp: In member function 'void PiHoleClient::getTopClientsBlocked(String, int, String)':

PiHoleClient.cpp:105:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

  105 |   http.begin(apiGetData);// get the result

      |   ~~~~~~~~~~^~~~~~~~~~~~

C:\Users\Finnt\Downloads\marquee-scroller-master\marquee\PiHoleClient.cpp: In member function 'void PiHoleClient::getPiHoleData(String, int)':

PiHoleClient.cpp:38:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

   38 |   http.begin(apiGetData);// get the result

      |   ~~~~~~~~~~^~~~~~~~~~~~

C:\Users\Finnt\Downloads\marquee-scroller-master\marquee\BitcoinApiClient.cpp: In member function 'void BitcoinApiClient::updateBitcoinData(String)':

BitcoinApiClient.cpp:44:13: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

   44 |   http.begin(apiGetData);

      |   ~~~~~~~~~~^~~~~~~~~~~~

exit status 1

call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
victor7376 commented 2 years ago

which version of 8266 package are you using?

Qrome commented 2 years ago

Please use the 8266 Core specified in the Readme.md file.