Repository navigation
Replies: 3 comments 4 replies
For these, if you look carefully at the code you'll see that these are false warnings. There is no shadowing in reality because the lambdas are not capturing anything. |
0 replies
|
@wrgallo : feel free to open a PR to clean that if you want / need. There is also some occurences in AsyncWebSocket.cpp. The shadowing here, although not desirable, is controlled and this is a purely readability / cosmetic change to fix these warning. There is no bug whatsoever. |
4 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.
Platform
ESP32
IDE / Tooling
pioarduino
What happened?
Compiling the library
esp32async/ESPAsyncWebServer @ 3.12.1with thebuild_flags-Wshadowresults in lots of warnings that requires attention, specially thedeclaration of 'i' shadows a previous local.WebRequest.cpp
Stack Trace
Does not apply
Minimal Reproductible Example (MRE)
Compile the library
esp32async/ESPAsyncWebServer @ 3.12.1with the build flag-Wshadow.I confirm that:
All reactions