Hello Ralf,

> I'm sure it was you who requested this feature, but I can't find the
> reference to this issue now.

Yes, I raised it, but I'm sure others have wanted the same feature before me.

> I wasn't completely sure about the case of warnings in the presence
> of -Werror. ... we print a note stating
>   warnings are treated as errors
> 
> and then continue to prepend them with 'warning: '.  I see that while
> old GCC versions do exactly that, newer ones changed the prefix to be
> 'error: ' instead.

I agree with your choice. When someone reports things like

  gnulib/fnmatch_loop.c:1087: error: signed and unsigned type in conditional 
expression

and forgets to say that he was using -Werror, I get severely confused
when seeing an "error" message about a harmless code.

Thanks for implementing this!

Bruno


Reply via email to