Preferences

> A common trope that is probably ignored or even unknown to uninformed C/C++ programmers, is that -Werr (...)

Not even that. -Wall -Werror should be limited to local builds, and should never touch any build config that is invoked by any pipeline.


No you definitely want to enforce this in CI.
> No you definitely want to enforce this in CI.

No, not really. It makes absolutely no sense to block builds for irrelevant things as passing unused arguments to a function.

> irrelevant things as passing unused arguments to a function.

That's not irrelevant. I have seen many bugs detected by that warning.

-Werror= and you can error on decide which warnings are errors. No reason to enable it globally

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal