Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] GCC Warnings are marked as Errors

> 
> Folks,
> 
>   I've attached a minor non-API changing patch which allows us to 
> properly propagate warnings rather than errors where appropriate.
> This address PR 45320:
> 
> "In file included from ../globals.h:9,",
> "                 from ../abmain.c:36:",
> "../_combolist.h:34:24: warning: no newline at end of file",
> 
> With the current error parser this results in one warning and two
> errors.  Taking the discussion of whether there should even be
> more than one marker offline until the new parser manager is ready,
> there should be three warnings instead.
> 
> This patch can be applied to 1.2 and 2.0 as desired. I've attached 
> the patch as well as JUnit tests for it (one pass & 4 failures for
> other GCC error parsing problems).
> 
> ChangeLog
> - Fix to address PR 45320 where we would mark warnings with 
>   errors rather than inheriting the warning condition.
> 

Ok, in the head.

Thanks.




Back to the top