mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Joe Perches <joe@perches.com>
Cc: Douglas Mencken <dougmencken@gmail.com>,
	linux-kernel@vger.kernel.org, Borislav Petkov <bp@alien8.de>,
	Michal Marek <mmarek@suse.cz>, Ingo Molnar <mingo@elte.hu>,
	linux-kbuild <linux-kbuild@vger.kernel.org>
Subject: Re: problem with ccflags := -Werror in Makefiles when building with gcc 4.6.0
Date: Wed, 9 Mar 2011 19:00:37 +0100	[thread overview]
Message-ID: <20110309180037.GA29233@merkur.ravnborg.org> (raw)
In-Reply-To: <1299691370.20104.127.camel@Joe-Laptop>

On Wed, Mar 09, 2011 at 09:22:50AM -0800, Joe Perches wrote:
> On Wed, 2011-03-09 at 17:28 +0100, Douglas Mencken wrote:
> > When building with gcc 4.6.0 with the new type of warnings introduced,
> > -Wunused-but-set-variable, many directories with ccflags set to
> > -Werror in Makefile fail to build.
> 
> After the kbuild W=<level> gets accepted,
> it might be reasonable to add another W
> level to make warnings fatal and remove
> all -Werror entries from the various Makefiles.

It does not make sense to remove -Werror.
They are there by default.

It is just plain wrong to go removing -Werror that has been there for ages.
Either we fix the warnings or we tell gcc to shut up.

	Sam

      reply	other threads:[~2011-03-09 18:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-09 16:28 Douglas Mencken
2011-03-09 17:22 ` Joe Perches
2011-03-09 18:00   ` Sam Ravnborg [this message]

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=20110309180037.GA29233@merkur.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=bp@alien8.de \
    --cc=dougmencken@gmail.com \
    --cc=joe@perches.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mmarek@suse.cz \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®