On Sunday 05 July 2009 10:42:58 Tito wrote:
> 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/us
>r/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/us
>r/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/us
>r/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.

why dont we undef the macros before their first declaration.  i'm not aware of 
anything we're actually using from the context headers.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to