Replies: 2 comments 2 replies
-
please search correctly: https://github.com/ESP32Async/ESPAsyncWebServer/discussions?discussions_q= |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
ok, update, it now compiles, it was the same issue as the one which forced me to use the github zip, updated AsyncTCP using github's zip and compiles fine now |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
Arduino (IDE/CLI)
What happened?
Compilation failed when including the module, compiler does not complain about the way I use the library, it complains about the library itself.
Arduino IDE 2.3.8
AsyncTCP v1.1.4
ESPAsyncWebServer 3.11.0 (from github, IDE offers lower version from different source)
Stack Trace
*\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h: In member function 'tcp_state AsyncWebServer::state() const':
*\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:1689:49: error: passing 'const AsyncServer' as 'this' argument discards qualifiers [-fpermissive]
1689 | return static_cast<tcp_state>(_server.status());
| ~~~~~~~~~~~~~~^~
In file included from *\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:43:
*\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
Minimal Reproductible Example (MRE)
#include` <ESPAsyncWebServer.h>I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions