Re: latest sparse warnings with latest kernel

From: Al Viro
Date: Sat May 21 2005 - 11:06:45 EST


On Sat, May 21, 2005 at 02:34:28PM +0100, Russell King wrote:
> Hi,
>
> I'm seeing a lot of the following warnings when building the latest
> -git kernel with the latest sparse checker:
>
> /usr/local/lib/gcc-lib/arm-linux/3.3/include/stdarg.h:54:9: warning: preprocessor token va_copy redefined
> /home/rmk/git/linux-2.6-rmk/include/linux/compiler-gcc2.h:29:9: this was the original definition
>
> Since sparse pretends to be a gcc 2.95 compiler, should it really
> be using the gcc 3.3 header files?

Yes, but it should pretend to be 3.x. See tarball on parcelfarce; I'll
send the patches to Linus.

> Shouldn't it provide its own headers to correspond with the version
> it pretends to be? 8)

No.
-
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/