-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
component: networktype: bugwaiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.Waiting on additional info. If it's not received, the issue may be closed.
Milestone
Description
Basic Infos
- This issue complies with the issue POLICY doc.
- I have read the documentation at readthedocs and the issue is not addressed there.
- I have tested that the issue is present in current master branch (aka latest git).
- I have searched the issue tracker for a similar issue.
- If there is a stack dump, I have decoded it.
- I have filled out all fields below.
Platform
- Hardware: [other] / N/A
- Core Version: 2.5.0-beta3 / 21db8fc
- Development Env: Arduino IDE 1,8.8
- Operating System: Unix / Travis
Settings in IDE
- Module: Wemos D1 mini r2 & Nodemcu
- Flash Mode: N/A
- Flash Size: 4M
- lwip Variant: N/A
- Reset Method: N/A
- Flash Frequency: N/A
- CPU Frequency: 80Mhz
- Upload Using: N/A
- Upload Speed: N/A
Problem Description
2.5.0-beta3's libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp doesn't compile, has errors.
See https://travis-ci.org/markszabo/IRremoteESP8266/jobs/484962845#L1515
$ arduino --verify --board esp8266:esp8266:nodemcuv2:xtal=80,eesz=4M3M $PWD/examples/IRGCTCPServer/IRGCTCPServer.ino
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.5.0-beta3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp: In member function 'bool ESP8266WiFiSTAClass::hostname(const char*)':
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.5.0-beta3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp:537:52: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
intf->hostname = wifi_station_get_hostname();
^
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/2.5.0-beta3/libraries/ESP8266WiFi/src/ESP8266WiFiSTA.cpp:539:33: error: 'netif_dhcp_data' was not declared in this scope
if (netif_dhcp_data(intf) != nullptr) {
^
exit status 1
This looks like it was introduced in #5652 (7c5be91)
The code has compiled fine with all previous versions of the ESP8266 core libraries for years. e.g. 2.5.0-beta2 was fine. Beta3 broke it.
Sketch
https://github.com/markszabo/IRremoteESP8266/blob/master/examples/IRGCTCPServer/IRGCTCPServer.ino
https://github.com/markszabo/IRremoteESP8266/blob/master/examples/IRMQTTServer/IRMQTTServer.ino
https://github.com/markszabo/IRremoteESP8266/blob/master/examples/IRServer/IRServer.ino
Debug Messages
N/A
Metadata
Metadata
Assignees
Labels
component: networktype: bugwaiting for feedbackWaiting on additional info. If it's not received, the issue may be closed.Waiting on additional info. If it's not received, the issue may be closed.