about gcc warnings

gotrunks at gmail.com gotrunks at gmail.com
Sun Feb 13 12:39:52 UTC 2011


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


More information about the busybox mailing list