[cfe-dev] proposal: every warning should have a -W flag

Joerg Sonnenberger joerg at britannica.bec.de
Wed Aug 10 14:50:35 PDT 2011


On Tue, Aug 09, 2011 at 01:58:02PM -0700, Ted Kremenek wrote:
> In feedback from developers using Clang, I have often heard requests
> such as "please put warning X under a flag" or, more generally,
> "please put every warning under a flag."  I propose that we aim to
> achieve the latter goal.

Yes, please. I would also like to see semantic compatibility with GCC as
much as possible, as in the same suspicious behavior can be checked for
with the same flag or the check disabled.

I fully agree with the rest of your proposal.

Joerg



More information about the cfe-dev mailing list