* latest sparse warnings with latest kernel
@ 2005-05-21 13:34 Russell King
2005-05-21 16:05 ` Al Viro
0 siblings, 1 reply; 2+ messages in thread
From: Russell King @ 2005-05-21 13:34 UTC (permalink / raw)
To: Linux Kernel List, Linus Torvalds
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?
Shouldn't it provide its own headers to correspond with the version
it pretends to be? 8)
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: latest sparse warnings with latest kernel
2005-05-21 13:34 latest sparse warnings with latest kernel Russell King
@ 2005-05-21 16:05 ` Al Viro
0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2005-05-21 16:05 UTC (permalink / raw)
To: Linux Kernel List, Linus Torvalds
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-21 16:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21 13:34 latest sparse warnings with latest kernel Russell King
2005-05-21 16:05 ` Al Viro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox