Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Example code fails compile. error: call of overloaded 'IPAddress(unsigned int)' is ambiguous #2

@RudyFiero

Description

@RudyFiero

Describe the bug

Example code does not compile it produced the following error.

C:\Users\Rudy\Documents\Arduino\libraries\ESPAsyncWebServer-master\src\AsyncWebSocket.cpp: In member function 'IPAddress AsyncWebSocketClient::remoteIP()':
C:\Users\Rudy\Documents\Arduino\libraries\ESPAsyncWebServer-master\src\AsyncWebSocket.cpp:832:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous
         return IPAddress(0U);
                            ^

Steps to Reproduce

Install library and dependencies. Open example. Click compile. (Arduino IDE 1.8.13)

Expected behavior

Complete compile and load into hardware.

Actual behavior

As stated above.

Debug and AT-command log (if applicable)

Would love to, but never gets that far.

Screenshots

If applicable, add screenshots to help explain your problem.

Information

Please ensure to specify the following:

  • Arduino IDE version (e.g. 1.8.13)

  • ESP32-C3

  • Contextual information (e.g. what you were trying to achieve)

  • Simplest possible steps to reproduce

  • Anything that might be relevant in your opinion, such as:

    • Operating system - Windows
    • Network configuration - Does not get that far.

Example

Arduino IDE version: 1.8.13
ESP32 Core Version 2.0.0

Arduino: 1.8.13 (Windows 10), Board: "ESP32C3 Dev Module, Disabled, UART0, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 160MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 256000, None"

Metadata

Metadata

Assignees

No one assigned

    Labels

    SupportLibrary support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions