----- 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?

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.

Gilles

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to