[Top][All Lists]
[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
- [PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages., Ralf Wildenhues, 2010/04/11
- [PATCH 1/5] Fix connected warnings about obsolete exeext override., Ralf Wildenhues, 2010/04/11
- [PATCH 2/5] Fix capitalization of error messages, reword one message., Ralf Wildenhues, 2010/04/11
- [PATCH 3/5] Prepend type to warning, error, and fatal messages., Ralf Wildenhues, 2010/04/11
- [PATCH 4/5] Ensure we don't print 'warning:' or 'error:' twice., Ralf Wildenhues, 2010/04/11
- [PATCH 5/5] Print 'warnings are treated as errors' note if needed., Ralf Wildenhues, 2010/04/11
- Re: [PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages.,
Bruno Haible <=