On Sunday 13 February 2011 14:24, Gilles Espinasse wrote:
>
> ----- Original Message -----
> From: <[email protected]>
> To: <[email protected]>
> Sent: Sunday, February 13, 2011 1:39 PM
> Subject: about gcc warnings
>
>
> > In busybox there are a lot of compile warnings like:
> > networking/wget.c:365: warning: format not a string literal and no
> > format arguments
> >
> > are these warnings wanted for some reason?
I don't get any such warnings.
> Should only be rusting code
> This sort of warning is not present in 1.17.3.
>
> > or can I fix them, like in the example below?
> >
>
>
> > - bb_perror_msg_and_die(bb_msg_memory_exhausted);
> > + bb_perror_msg_and_die("%s", bb_msg_memory_exhausted);
>
> To my understanding, this is the right fix.
But this just increases code size for no benefit.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox