[Bug Report]: PROBLEMS tab empty when build succeeds (VSC-868)
See original GitHub issueDescribe the bug A succesfull build clears all warnings from the “PROBLEMS” window, This makes finding and fixing the warnings difficult when no error is present in the code.
To Reproduce
Open a project for example the “blinky” example.
Declare a function prototype and nothing else, this will introduce the [-Wunused-function] warning.
add static void unusedFunc();
for example
Build the project:
>ESP-IDF: Build your project
Open build output (should open automatically but someone already requested this feature) to validate the warning is present.
Check “Problems” tab, observe no warnings are listed.
Introduce an error that stops the build, (I added “error” to end of the file, this is invalid c). Now the warning is listed together with the error inside the “PROBLEMS” tab.
Expected behavior Always show the warnings even when the build succeeds.
Environment:
- OS: Windows 10 64-bit
- VSCode Version: 1.65.2
- ESP-IDF Version: 1.4.0
Issue Analytics
- State:
- Created a year ago
- Comments:7
Top GitHub Comments
Yes the fix is not part of the 1.4.0 release. Will release a new version soon 😢
I installed 1.4.0 from the Github releases Tab. Edit: I cloned the repo and built it from source from the master branch and still have this behavior.