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

Matthieu Monrocq matthieu.monrocq at gmail.com
Tue Aug 16 10:13:37 PDT 2011


>
> Date: Tue, 16 Aug 2011 18:20:07 +0200
> From: Nikola Smiljanic <popizdeh at gmail.com>
> Subject: Re: [cfe-dev] -ferror-limit omits part of last error message
> To: Douglas Gregor <dgregor at apple.com>
> Cc: Bjorn Reese <breese at mail1.stofanet.dk>,     cfe-dev Developers
>        <cfe-dev at cs.uiuc.edu>
> Message-ID:
>        <CAGq7tnPt-xoiEaw4imDgfj7Onaf++fxt9Ly=op0R2UGLHnwNFQ at mail.gmail.com
> >
> Content-Type: text/plain; charset="utf-8"
>
> 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?
>
>
I would say we would have 1 error, its notes *AND* the fatal error
indicating that no further error will be reported.

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


More information about the cfe-dev mailing list