compilation warnings: 'pointer targets ... differ in signedness'

Mike Frysinger vapier at gentoo.org
Sun Sep 25 03:21:24 UTC 2005


On Saturday 24 September 2005 11:14 pm, Rob Landley wrote:
> On Saturday 24 September 2005 18:53, Mike Frysinger wrote:
> > On Saturday 24 September 2005 08:16 am, Cristian Ionescu-Idbohrn wrote:
> > > - unsigned char *ptr;
> > > + char *ptr;
> >
> > added thanks
> >
> > > See attached filtered logs.
> >
> > we're aware of them, many are not trivial to fix (like the md5 ones)
>
> No, what we need to do is add -funsigned-char to the makefile, because this
> is a stupid warning.

not really ... sometimes it can safely be ignored, but globally adding 
-funsigned-char is wrong ... if you're using a char and rely on it being 
signed, -funsigned-char will break that
-mike



More information about the busybox mailing list