Compiling issue with 3.7,4 #142
Replies: 5 comments 11 replies
-
Hello, Or, force the compiler to 17, or use PIO, like in the project.
|
Beta Was this translation helpful? Give feedback.
-
Hi, I will continue to look elsewhere for help. Thank you for your time. |
Beta Was this translation helpful? Give feedback.
-
@porlean @garrybrook : upload your project on github and give us the link so that we can reproduce! Exampe of projetc file:
|
Beta Was this translation helpful? Give feedback.
-
@garrybrook @HARIS4820 @porlean : please see #142 (duplicate) - you might have the same issue... |
Beta Was this translation helpful? Give feedback.
-
Yeah!!!! Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Platform
ESP32
IDE / Tooling
Arduino (IDE/CLI)
What happened?
Uanable to compile with new version 3.7.4 but going back to 3.7.2 it compiles OK
The error code using Arduino IDE version 2 is below.
Stack Trace
In file included from C:\Users\garry\OneDrive\Garry's Stuff\Documents\Arduino\I2C_Hydroponics_Controller\Final_I2C_Hydroponics_Controller_V9\Final_I2C_Hydroponics_Controller_V9.ino:30:
c:\Users\garry\OneDrive\Garry's Stuff\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h: In member function 'tcp_state AsyncWebServer::state() const':
c:\Users\garry\OneDrive\Garry's Stuff\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:1107:50: error: passing 'const AsyncServer' as 'this' argument discards qualifiers [-fpermissive]
return static_cast<tcp_state>(_server.status());
^
In file included from C:\Users\garry\OneDrive\Garry's Stuff\Documents\Arduino\I2C_Hydroponics_Controller\Final_I2C_Hydroponics_Controller_V9\Final_I2C_Hydroponics_Controller_V9.ino:29:
c:\Users\garry\OneDrive\Garry's Stuff\Documents\Arduino\libraries\AsyncTCP\src/AsyncTCP.h:198:13: note: in call to 'uint8_t AsyncServer::status()'
uint8_t status();
^~~~~~
exit status 1
Compilation error: exit status 1
Minimal Reproductible Example (MRE)
Compile issue
I confirm that:
Beta Was this translation helpful? Give feedback.
All reactions