Skip to content

Cherry-pick 5613e66f6768b5a5f1629e0931992cd020856a0a to support arduino-esp32 2.0.2 - #4

Merged
Aircoookie merged 3 commits into
Aircoookie:masterfrom
misery:s2
Dec 27, 2021
Merged

Aircoookie merged 3 commits into
Aircoookie:masterfrom
misery:s2

Conversation

@misery

@misery misery commented Dec 27, 2021

Copy link
Copy Markdown

Fix build when using latest arduino-esp32 master due to IDF update (me-no-dev#999)

…e-no-dev#999)

* Fix build when using latest arduino-esp32 master due to IDF update
espressif/arduino-esp32@a618fc1

* Fix build when using WebSockets
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
.piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:832:29: error: call of overloaded 'IPAddress(long unsigned int)' is ambiguous
         return IPAddress(0UL);
                             ^
In file included from /root/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:163,
                 from .piolibdeps/esp32-test/ESPAsyncWebServer-esphome/src/AsyncWebSocket.cpp:21:
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)'
     IPAddress(const uint8_t *address);
     ^~~~~~~~~
/root/.platformio/packages/framework-arduinoespressif32/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)'
     IPAddress(uint32_t address);
     ^~~~~~~~~
@Aircoookie
Aircoookie merged commit 9533fc2 into Aircoookie:master Dec 27, 2021
@misery
misery deleted the s2 branch December 27, 2021 16:28
shy950521 pushed a commit to shy950521/ESPAsyncWebServer that referenced this pull request Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants