[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110502040216.GC11804@redhat.com>
Date: Mon, 2 May 2011 00:02:16 -0400
From: Dave Jones <davej@...hat.com>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Michal Marek <mmarek@...e.cz>, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, Sam Ravnborg <sam@...nborg.org>
Subject: Re: linux-next: build warning after merge of the kbuild tree
On Mon, May 02, 2011 at 01:45:24PM +1000, Stephen Rothwell wrote:
> diff --git a/scripts/Makefile.build b/scripts/Makefile.build
> index 9c0c481..9fb19c0 100644
> --- a/scripts/Makefile.build
> +++ b/scripts/Makefile.build
> @@ -66,6 +66,7 @@ warning-1 += -Wmissing-format-attribute
> warning-1 += -Wmissing-prototypes
> warning-1 += -Wold-style-definition
> warning-1 += $(call cc-option, -Wmissing-include-dirs)
> +warning-1 += $(call cc-option, -Wunused-but-set-variable)
Subtly different from what I wrote.. the version I wrote did this ..
+KBUILD_EXTRA_WARNINGS += $(call cc-option, -Wunused-but-set-variable)
I just tested with the gcc 4.4.5 on master.kernel.org, with a tip of Linus'
tree with my original diff, and it didn't complain at all.
What does gcc -v say ?
gcc version 4.4.5 20101112 (Red Hat 4.4.5-2) (GCC) seems to be fine.
(note the above hunk isn't relevant unless using W=1 builds anyway,
so I'm at a loss as to what broke it..)
Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists