3 ms·
Better than you being aware, make sure your build system is aware - for example, compile your code with the maximum level of warnings and errors turned on, and
by zabzonk 6y ago
Better than you being aware, make sure your build system is aware - for example, compile your code with the maximum level of warnings and errors turned on, and don't commit it until you have resolved them all.
- zoomablemind 6y ago+1. Yet this should be done from the very start of the project. Too often projects start in a permissive way, and then get released. At that point switching to strict way may become an unsurmountable task practically or politically.
- 0xTJ 6y agoDefinitely, `-Wall -Wextra -pedantic` are always there, and only turning off individual ones if there's a good reason.