[Top][All Lists]

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

Re: [PATCH] Tidy up 'make' output

From: Pavel Roskin
Subject: Re: [PATCH] Tidy up 'make' output
Date: Tue, 17 Jun 2008 16:53:44 -0400

On Tue, 2008-06-17 at 22:37 +0200, Robert Millan wrote:

> I don't like the idea of hiding information this way.

If something fails, "make V=1" can be used to find the command.

> If the goal is to
> catch warnings, I think -Werror can do a much better job (and catching
> errors shouldn't be a problem unless you're using make -j or -k).

Even with -j and -k, rerunning make would show the error at the end.

But -Werror would not help for linker warnings and whatever else some
utility may want to tell users.  Also, projects that use -Werror often
find the build fail because a new, stricter compiler finds warnings in
headers of older libraries.

Also, using -Werror would put pressure on developers to fix warnings in
a provisional way rather than address the real issue. 

The GRUB build is especially noisy.  It's hard to say what's being
generated at the given time without looking very closely.  Shorter
output could possibly help improve the build system, because it would be
clear where the build is spending most of the time.

Pavel Roskin

reply via email to

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