lkml.org 
[lkml]   [2011]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2011-05-02 06:05    [W:0.530 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site