[patch] clears -Wall warnings (was: [patch] shell/ash.c: -W<something> warnings)

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Sun May 18 20:06:55 UTC 2008


On Sun, 18 May 2008, Denys Vlasenko wrote:

> On Sunday 18 May 2008 14:17, Cristian Ionescu-Idbohrn wrote:
> > This patch reduces the number of compiler warnings from 39 (svn) to 7.
> > Warning options used:
> >
> >   -Wconversion -Wformat=2 -W -Wbad-function-cast -Wall -Wpointer-arith
>
> What do you think about first finishing with -Wall warnings only,
> adding -Wall to standard bbox buildd options (in Makefile.flags file),
> and only then adding more -W opts?

Alright.  The attach patch should do it.
And yes.  You'll also find some "unrelated changes" (for warnings
showing up when othe -W<option> is used) in that patch.  They're because I
want to forget about them later on.


Cheers,

-- 
Cristian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Wall.warnings.patch
Type: text/x-diff
Size: 11757 bytes
Desc: 
Url : http://lists.busybox.net/pipermail/busybox/attachments/20080518/e45b1501/attachment.bin 


More information about the busybox mailing list