3 ms·
> it’s been finding real world bugs One more case to support -Werror.
by pif 11y ago
> it’s been finding real world bugs
One more case to support -Werror.
- GFK_of_xmaspast 11y ago-Werror holds things back, because it makes the gcc maintainers hesitant to add more warnings on grounds of "it will break old code that uses -Werror", and in fact I was surprised to see that this warning is going into -Wall.
- pif 11y agoI use -Werror and I strongly hope maintainers keep adding new warnings. The cleaner the code, the better! If it is really necessary, you can disable specific warnings with pragmas.
- TorKlingberg 11y agoJust add -Wno-error=something if you don't want to fix your code for a new warning.
- deleted 11y ago[deleted]