For reasons best left unmentioned, I want to treat all warnings as erros, except for a single warning (deprecated) which I would like to tread as a warning.
Is there any more convenient way to do this than listing out all the warnings I want to treat as errors by hand?
You can do -Werror -Wno-error=deprecated
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With