ESPAsyncWebServer icon indicating copy to clipboard operation
ESPAsyncWebServer copied to clipboard

Update AsyncWebSocket.cpp

Open har-in-air opened this issue 3 years ago • 4 comments

Fix compile error for ESP32-C3 RISC-V toolchain ( ambiguous type)

Original compile error :

xxx/ESPAsyncWebServer/src/AsyncWebSocket.cpp:832:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous return IPAddress(0U); ^

xxx/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)' IPAddress(const uint8_t *address); ^~~~~~~~~ xxx/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)' IPAddress(uint32_t address);

har-in-air avatar Apr 26 '22 03:04 har-in-air

I wanted to push this as well. I was unable to get the most recent release to work with my ESP32-C3 project, and this branch compiled without issue.

aaroneiche avatar Dec 14 '22 17:12 aaroneiche

Thanks. The Marlin Firmware greatly appreciates your compatibility work. (https://github.com/MarlinFirmware/Marlin/pull/25327)

quiret avatar Feb 02 '23 00:02 quiret

Please rename the subject of this issue to "Fix compilation error on RISC-V processor ESP32-C3"

FedericoBusero avatar Feb 12 '23 18:02 FedericoBusero

related https://github.com/me-no-dev/ESPAsyncWebServer/pull/970

bluet avatar Feb 12 '23 20:02 bluet