Description
Describe the request
Enable compiler warnings by default by changing the default value of the "Compiler warnings" preference.
🙂 Important information about potential problems in Arduino code will be visible to more Arduino IDE users.
🙂 Developers of shared Arduino projects will be encouraged to write warning-free code
Describe the current behavior
The default value of the "Compiler warnings" preference is "None"
🙁 Users might suffer from bugs that are difficult to troubleshoot without assistance from the compiler.
🙁 Developers of shared Arduino projects are not aware that their code produces warnings and so don't fix them. These warnings then make it more difficult for users of dependent projects who do enable warnings to differentiate the warnings in their own code from the warnings from the dependencies.
Arduino IDE version
Original report
1.6.6
Last verified with
Operating system
All
Operating system version
Any
Additional context
Defaulting to not showing warnings is, overall, a bad thing for the ecosystem. Advanced users will have a hard time taking it seriously, when instead of owning the errors, the IDE sweeps them under the rug.
Additional requests
- Set warnings to "default" by default #1792
- Enable compiler warnings by default in User Preferences #2316
Issue checklist
- I searched for previous requests in the issue tracker
- I verified the feature was still missing when using the latest nightly build
- My request contains all necessary details