[cfe-commits] [PATCH] Fix analysis based warnings so that all warnings are emitted with -Werror.

Richard Smith richard at metafoo.co.uk
Tue Dec 4 20:21:44 PST 2012


On Tue, Dec 4, 2012 at 8:02 PM, Delesley Hutchins <delesley at google.com>wrote:

> This patch fixes analysis based warnings so that all warnings are
> emitted when compiling with -Werror.  Previously, compiling with
> -Werror would emit only the first warning in a compilation unit,
> because clang assumes that once an error occurs, further analysis is
> unlikely to return valid results.  However, warnings that have been
> upgraded to errors should not be treated as "errors" in this sense.


This makes sense to me, but I wonder if there's a better term than
"TrueError". We've just spent a couple of minutes throwing around
adjectives and the best we found was "UncompilableError" (an error which
means we can't compile the program because we didn't understand all the
code). It would seem reasonable to classify errors with warning flags as
'compilable' errors, in addition to the -Werror'd warnings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121204/f9d74d37/attachment.html>


More information about the cfe-commits mailing list