Closed reltkaine closed 2 years ago
This is a bug of recent Maixduino core.
Please copy Stream.h to replace Stream.h of the core, for Windows machines, at
C:\Users\ruvic\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11/cores/arduino/Stream.h
I'll add specific instructions for Maixduino into new release.
Good Luck,
Hi @reltkaine
The new release ESP8266_AT_WebServer releases v1.4.1 has just been published to fix the compile error you reported.
Your contribution has been noted in Contributions and Thanks
Be sure
Packages' Patches
)
Describe the bug
compile error... for maixduino using exaample webclient....
C:\Users\ruvic\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11/cores/arduino/Stream.h: In member function 'void ESP8266_AT_WebServer::handleClient()': C:\Users\ruvic\AppData\Local\Arduino15\packages\Maixduino\hardware\k210\0.3.11/cores/arduino/Stream.h:49:7: error: '.Stream::_startMillis' may be used uninitialized in this function [-Werror=maybe-uninitialized]
class Stream : public Print
^
~cc1plus.exe: some warnings being treated as errorsSteps to Reproduce
Steps to reproduce the behavior. Including the MRE sketches
Expected behavior
A clear and concise description of what you expected to happen.
Actual behavior
A clear and concise description of what you expected to happen.
Debug and AT-command log (if applicable)
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Information
Please ensure to specify the following:
ESP8266
,ESP32
orSTM32
Core Version (e.g. ESP8266 core v2.7.4, ESP32 v1.0.5 or STM32 v1.9.0)uname -a
Example
Additional context
Add any other context about the problem here.