-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Labels
waiting 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.
Description
Basic Infos
- [x ] This issue complies with the issue POLICY doc.
- [x ] I have read the documentation at readthedocs and the issue is not addressed there.
- [x ] I have tested that the issue is present in current master branch (aka latest git).
- [x ] I have searched the issue tracker for a similar issue.
- [x ] If there is a stack dump, I have decoded it.
- [x ] I have filled out all fields below.
Platform
- Hardware: [ESP-12]
- Core Version: [V2.5, 11/2/2019]
- Development Env: [Arduino IDE]
- Operating System: [UbuntuS]
Settings in IDE
- Module: [Wemos D1 mini r2]
- Flash Mode: [dio]
- Flash Size: [4MB]
- lwip Variant: [v1.4|Higher Bandwidth]
- Reset Method: [nodemcu]
- Flash Frequency: [40Mhz]
- CPU Frequency: [80Mhz]
- Upload Using: [SERIAL]
- Upload Speed: [115200] (serial upload only)
Problem Description
Include of espconn.h results in an compiler error (worked in V2.4.2):
In file included from /tmp/arduino_modified_sketch_278302/WiFiClient.ino:2:0:
/home/mfg/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/include/espconn.h:451:54: error: 'ipv4_addr_t' has not been declared
typedef void (*dns_found_callback)(const char *name, ipv4_addr_t *ipaddr, void *callback_arg);
^
Following addition in espconn.h solves it:
#ifndef ipv4_addr_t
#define ipv4_addr_t ip_addr_t
#endif
MCVE Sketch
#include <Arduino.h>
#include <espconn.h>
void setup() {
}
void loop() {
}
Debug Messages
Debug messages go here
Metadata
Metadata
Assignees
Labels
waiting 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.