[cfe-dev] -ferror-limit omits part of last error message

Douglas Gregor dgregor at apple.com
Tue Aug 16 10:37:05 PDT 2011



Sent from my iPhone

On Aug 16, 2011, at 12:20 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:

> 
> 
> On Tue, Aug 16, 2011 at 6:01 PM, Douglas Gregor <dgregor at apple.com> wrote:
> IMO, no. We should get it right. One way to do so would be to emit the fatal error rather than the first error that would exceed the threshold, rather than following the last error that is permitted within the threshold. That's probably easier in general.
> 
> 
> So lets say our limit is 1 and there is only one error in our translation unit. In this case we wouldn't get the fatal error? 

Correct. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110816/2af3b4b1/attachment.html>


More information about the cfe-dev mailing list