From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Tidy up 'make' output
Date: Wed, 18 Jun 2008 14:02:17 -0400 [thread overview]
Message-ID: <1213812137.2688.14.camel@dv> (raw)
In-Reply-To: <20080618174607.GE25553@thorin>
On Wed, 2008-06-18 at 19:46 +0200, Robert Millan wrote:
> On Tue, Jun 17, 2008 at 03:31:54PM -0700, Colin D Bennett wrote:
> > I'm all for warning-free code, but if we try to
> > use -Werror, the code won't even begin to compile in the current state.
>
> Of course, I wasn't proposing to add -Werror in the current state and just
> throw the hot potato into everyone ;-)
>
> Ideally, someone (or all of us ;-)) could do the work to eliminate those
> warnings, then add -Werror, and at that point it's the responsibility of
> every contributor that new code is warning-free.
There will be some combinations of gcc and libraries that will produce
warnings. It should be easy to turn off -Werror on the make command
line if necessary.
> So is the proposed situation you don't like, or the path that would be
> needed to archieve it?
That's OK, but it's doesn't make build system changes unnecessary. The
less noisy build system will help find other messages that -Werror won't
catch, such as linker warnings. It will help understand what is
happening and what is potentially wrong or suboptimal.
For example, I'm seeing warnings from xfs.c that nobody is fixing. I
can fix the warning by changing the code so that it does exactly what
it's doing now but doesn't cause a warning. The problem is, I don't
see corresponding structures in the Linux xfs code. I don't have time
to investigate xfs implementation to see if I'm possibly hiding a bug.
I can imagine that somebody knows more about xfs but doesn't see the
warning. Once we make the warning visible, maybe that person will have
a look and make a better patch.
It's also possible that somebody who want to install GRUB in xfs will be
extra cautious when seeing the warning. It's actually a good thing.
Sure, not having the warning will be even better.
--
Regards,
Pavel Roskin
next prev parent reply other threads:[~2008-06-18 18:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-17 17:44 [PATCH] Tidy up 'make' output Colin D Bennett
2008-06-17 19:57 ` Pavel Roskin
2008-06-17 20:07 ` Colin D Bennett
2008-06-17 20:25 ` Pavel Roskin
2008-06-17 20:37 ` Robert Millan
2008-06-17 20:53 ` Pavel Roskin
2008-06-17 22:22 ` Stefan Reinauer
2008-06-18 17:43 ` Robert Millan
2008-06-17 22:31 ` Colin D Bennett
2008-06-18 17:46 ` Robert Millan
2008-06-18 18:02 ` Pavel Roskin [this message]
2008-06-18 22:21 ` Robert Millan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1213812137.2688.14.camel@dv \
--to=proski@gnu.org \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.