Re: linux-next: build warning after merge of the kbuild tree

From: Dave Jones
Date: Sun May 01 2011 - 22:24:53 EST


On Mon, May 02, 2011 at 12:18:17PM +1000, Stephen Rothwell wrote:
> Hi Michal,
>
> After merging the kbuild tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> At top level:
> cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
>
> Presumably caused by commit af0e5d565d2f ("kbuild: Disable
> -Wunused-but-set-variable for gcc 4.6.0") though I don't see why. I am
> using gcc version 4.4.5.

Which version of the patch got merged ? This should be guarded by cc-option checks.

Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/