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

Chris Lattner sabre at nondot.org
Wed Apr 7 19:34:31 PDT 2010


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.

-Chris



More information about the cfe-commits mailing list