Re: [patch 2.6.12] Add -Wno-pointer-sign to HOSTCFLAGS

From: Sam Ravnborg
Date: Sun Jul 03 2005 - 14:27:42 EST


On Sun, Jun 19, 2005 at 10:02:41PM -0400, Jeff Garzik wrote:
> Keith Owens wrote:
> >Compiling 2.6.12 with gcc 4.0.0 (FC4) gets lots of warnings for the
> >programs in the scripts directory. Add -Wno-pointer-sign to HOSTCFLAGS
> >to suppress them.
> >
> >Signed-off-by: Keith Owens <kaos@xxxxxxxxxx>
>
>
> Although I am a bit nervous about papering over these warnings without
> addressing them... I still ACK the patch, because gcc4 on FC4 does
> indeed spew a bunch of noise.
>
> Have you (or anyone) looked into the "root cause" of these warnings?
I've receive a few pathes to scripts/ fixing this.
They almost all just used casts to hide the warning but some included
real fixes. They are all lost for now though.

Sam
-
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/