[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages.
From: |
Ralf Wildenhues |
Subject: |
[PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages. |
Date: |
Sun, 11 Apr 2010 22:30:38 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
Hello Bruno, all,
I'm sure it was you who requested this feature, but I can't find the
reference to this issue now. Anyway, here's a small patch series to
let automake and aclocal consistenly prefix warning and error messages,
applied to git master.
I wasn't completely sure about the case of warnings in the presence
of -Werror. I dislike something like
error (was warning):
because that will make lines even longer than what we have already.
Instead, 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. Not sure whether that was done on purpose, it may
just be a (very minor, of course) GCC regression.
For per-Makefile.am -Werror settings, we could make the "warnings are
treated as errors" message produce the line where -Werror was set; not
sure if that is all that helpful though.
Thanks,
Ralf
- [PATCH 0/5] Prepend 'error: ' or 'warning: ' to messages.,
Ralf Wildenhues <=
- [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, 2010/04/11