Warnings when building for arm
Tito
farmatito at tiscali.it
Sun Jul 5 14:42:58 UTC 2009
Hi,
while building for arm I've noticed this warnings:
libbb/sha1.c:176:1: warning: "R0" redefined
In file included from /home/tito/Desktop/android/arm-2008q3/bin/../arm-none-linux-gnueabi/libc/usr/include/signal.h:353,
from include/libbb.h:22,
from libbb/sha1.c:31:
/home/tito/Desktop/android/arm-2008q3/bin/../arm-none-linux-gnueabi/libc/usr/include/sys/ucontext.h:44:1: warning: this is the location of the previous definition
libbb/sha1.c:177:1: warning: "R1" redefined
/home/tito/Desktop/android/arm-2008q3/bin/../arm-none-linux-gnueabi/libc/usr/include/sys/ucontext.h:46:1: warning: this is the location of the previous definition
The build completes, so it is not a big problem.
Attached is a trivial patch that seems to fix the problem.
Hope I've got it right with this obscure git voodo.
Ciao,
Tito
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-warnings-in-sha1.c-when-building-for-arm.patch
Type: text/x-diff
Size: 2842 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090705/6a639fc6/attachment.bin>
More information about the busybox
mailing list