This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Middle end warnings cascading after C++ parsing errors


On Fri, Jun 17, 2011 at 14:47, Diego Novillo <dnovillo@google.com> wrote:

> if (flag_syntax_only || flag_wpa)
> Â return;
>
> to
>
> Âif (flag_syntax_only || flag_wpa || errorcount > 0)
> Â return;

To clarify.  It would be 'seen_error ()' instead of 'errorcount > 0',
but the idea is the same.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]