3 ms·
Indeed, -Werror doesn’t make sense, but specifying specific errors (like -Werror=return-type to prevent forgetting to return a value from a function) is very, v
by david2ndaccount 3y ago
Indeed, -Werror doesn’t make sense, but specifying specific errors (like -Werror=return-type to prevent forgetting to return a value from a function) is very, very necessary.
- saagarjha 3y agoYep, this is the best way to use it. Pick a few classes of things you absolutely want to always be errors, and add to it over time.