This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Middle end warnings cascading after C++ parsing errors
On Fri, Jun 17, 2011 at 5:39 PM, Jason Merrill <jason@redhat.com> wrote:
> On 06/17/2011 10:55 AM, Diego Novillo wrote:
>>
>> 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.
>
> That seems reasonable to me.
Yes. I think Steven proposed this as well at some point.
Richard.
> Jason
>