Added compiler.warning_flags to platform.txt; fixing #6118#6596
Added compiler.warning_flags to platform.txt; fixing #6118#6596me-no-dev merged 36 commits intoespressif:masterfrom
Conversation
|
Why does this PR modify "cores/esp32/esp32-hal-i2c-slave.c" and "libraries/WiFiClientSecure/src/esp_crt_bundle.c"? |
With the new compiler settings, the previously hidden warnings are now treated as errors and the CI is failing. Following commits are simply satisfying the compiler/CI. The changes are mostly removing unused variables and such. |
Makes sense. I glanced over the code and don't see any obvious issues. |
This reverts commit ec3f189.
|
any updates on this @PilnyTomas? |
|
Thanks @PilnyTomas for your hard work :) |
Summary
Added
compiler.warning_flagsto all chips inplatform.txtto reflect users setting of warning level output during compilation (set up in Arduino IDE preferences)Impact
When a warning is set to none the compilation will no longer display warnings
Related links
Solves issue #6118