Skip to content

The completeExample fails after updating all libraries to the latest and the ESP32 core to 3.3.8 with this #342

@hatzisn

Description

@hatzisn

In file included from c:\B4X\Tools\B4R\Arduino\libraries\ESPUI\src/ESPUI.h:33,
from C:\Users\hatzi\AppData\Local\Temp.arduinoIDE-unsaved2026315-19008-1aoprzr.9f94\sketch_apr15a\completeExample.cpp:23:
c:\B4X\Tools\B4R\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h: In member function 'tcp_state AsyncWebServer::state() const':
c:\B4X\Tools\B4R\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:1640:49: error: passing 'const AsyncServer' as 'this' argument discards qualifiers [-fpermissive]
1640 | return static_cast<tcp_state>(_server.status());
| ~~~~~~~~~~~~~~^~
In file included from c:\B4X\Tools\B4R\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:38:
c:\B4X\Tools\B4R\Arduino\libraries\AsyncTCP\src/AsyncTCP.h:198:13: note: in call to 'uint8_t AsyncServer::status()'
198 | uint8_t status();
| ^~~~~~
exit status 1

Compilation error: exit status 1

If it cannot be fixed then please write us which are the versions of the libraries that are suitable for this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions