Re:Useful GCC warning options not enabled by -Wall -Wextra
by bluGill on Wednesday October 04, 2017 @05:49PM
(#15405018)
Because painful experience has shown us time and time again that if a developer doesn't have it on all the time they will not let issues creep in. In theory you can use a CI system which does have it on, but those are not universal.
Re:Useful GCC warning options not enabled by -Wall -Wextra
by accatyyc on Wednesday October 04, 2017 @06:54PM
(#15405446)
Or... you can just fix the warnings before commiting. We have no tolerance for warnings on pushed code, and this has seriously never been a problem.
It’s just annoying to have to remove every unused variable/parameter when trying changes out.
And don’t worry, if the new idea I’m trying is worth it, I will fix it up so it doesn’t have any warnings. And I saved a lot of time by not fixing all these warnings on the previous 2 ideas I tried.