Compiling gdbstub.c results in 'handle' may be used uninitialized errors with -O2 (IDFGH-8213) #9706
Closed
3 tasks done
Labels
Resolution: Done
Issue is done internally
Status: Done
Issue is done internally
Type: Bug
bugs in IDF
Answers checklist.
IDF version.
v5.1-dev-537-g91e8312f03
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
No response
What is the expected behavior?
Successful compile
What is the actual behavior?
/usr/src/mcu/esp32/esp-idf/components/esp_gdbstub/src/gdbstub.c:862:26: error: 'handle' may be used uninitialized in this function [-Werror=maybe-uninitialized]
Steps to reproduce.
sdkconfig.txt
Build or installation Logs.
The text was updated successfully, but these errors were encountered: