WebSocket - void send_P() is deprecated #109
Replies: 4 comments 4 replies
-
There is no warning when compiling with this lib on Arduino 3. https://github.com/ESP32Async/ESPAsyncWebServer/actions/runs/13674993269/job/38233414438#step:6:4841 You might have something wrong in your environment? |
Beta Was this translation helpful? Give feedback.
-
Why should my Arduino IDE 2.3.4 not work with the Lib example. With Espressif Core 3.1.1 and C++20 I get the mentioned deprecated warning. |
Beta Was this translation helpful? Give feedback.
-
Excuse me. Of course it's your Lib's problem. You wrote the method. Now the compiler warns you about a future problem and you want to ignore it completely? Very strange behavior. |
Beta Was this translation helpful? Give feedback.
-
I am locking the discussion. The solution and explanations have already been provided. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Edit
Excuse me. I just realized that the deprecated warning did not come directly from the compiler, instead it came from the C++ source code. So it was set to deprecated by yourself. I apologize for this.
/Edit
Platform
ESP32
IDE / Tooling
Arduino (IDE/CLI)
What happened?
When I compile the WebSocket example I get a deprecated warning. I think this should be changed at some point. I am using the Espressif Core 3.1.1 with the Arduino IDE 2.3.4 with C++20 (23) and Windows 11
Stack Trace
Minimal Reproductible Example (MRE)
WebSocket Example from ESP32 Async WebServer Library
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions