mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Douglas Mencken <dougmencken@gmail.com>
Cc: linux-kernel@vger.kernel.org, Borislav Petkov <bp@alien8.de>,
	Michal Marek <mmarek@suse.cz>, Sam Ravnborg <sam@ravnborg.org>,
	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, 09 Mar 2011 09:22:50 -0800	[thread overview]
Message-ID: <1299691370.20104.127.camel@Joe-Laptop> (raw)
In-Reply-To: <AANLkTi=3xRFt-p+HUMWwTUcUzFaxY6y9bovJiqdHTwrn@mail.gmail.com>

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.

See Borislav's patch
https://lkml.org/lkml/2011/3/1/76

and Ingo's idea
https://lkml.org/lkml/2011/3/9/186



  reply	other threads:[~2011-03-09 17:22 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 [this message]
2011-03-09 18:00   ` Sam Ravnborg

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=1299691370.20104.127.camel@Joe-Laptop \
    --to=joe@perches.com \
    --cc=bp@alien8.de \
    --cc=dougmencken@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mmarek@suse.cz \
    --cc=sam@ravnborg.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 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®