-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Labels
fixedThe issue has been resolvedThe issue has been resolved
Description
With the most recent ESP32 core (2.0.3-RC1), there are compile errors when compiling for ESP32C3. I haven't tried with different core versions.
Full error log here
Relevant error is AutoConnect.h:94:12: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous dns2(0U) {}
A quick search shows this error has come up for another library as well with no upstream fix yet.
Fix is to change AutoConnect.h lines 90-94 and 134-138 by adding a typecast.
staip(0U), staGateway(0U), staNetmask(0U), dns1(0U), dns2(0U) {}
to
staip((uint32_t)0U), staGateway((uint32_t)0U), staNetmask((uint32_t)0U), dns1((uint32_t)0U), dns2((uint32_t)0U) {}
Metadata
Metadata
Assignees
Labels
fixedThe issue has been resolvedThe issue has been resolved