[cfe-commits] r100689 - in /cfe/trunk: docs/UsersManual.html include/clang/Driver/Options.td lib/Driver/Tools.cpp

Ted Kremenek kremenek at apple.com
Thu Apr 8 00:33:53 PDT 2010


On Apr 7, 2010, at 7:34 PM, Chris Lattner wrote:

> On Apr 7, 2010, at 7:31 PM, Daniel Dunbar wrote:
> 
>>> 
>>> $ clang foo.c
>>> <tons of crap>
>>> foo.c:102:3: error: unknown type name 'somethingbad'
>>> somethingbad x;
>>> ^
>>> fatal error: too many errors emitted, stopping now
>>> 36 warnings and 20 errors generated.
>> 
>> Would it make sense for this to say something like
>> 36 warnings and 20 (of 33 total) errors generated.
> 
> That would be somewhat nice, fatal errors can stop compilation early as well in theory. Getting a total count isn't really feasible, and I don't really think it's useful.
> 

Don't fatal errors just suppress the emission of diagnostics, and not stop compilation?



More information about the cfe-commits mailing list