automake-patches
[Top][All Lists]
Advanced

[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




reply via email to

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