automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages.


From: Bruno Haible
Subject: Re: [PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages.
Date: Sun, 11 Apr 2010 23:07:07 +0200
User-agent: KMail/1.9.9

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

[Prev in Thread] Current Thread [Next in Thread]