[PATCH] libc: cleanup some compile warnings

Mike Frysinger vapier at gentoo.org
Sat Jan 5 09:29:16 UTC 2008


On Friday 26 October 2007, Hans-Christian Egtvedt wrote:
> Signed-off-by: Hans-Christian Egtvedt <hcegtvedt at atmel.com>
> ---
>  libc/inet/rpc/create_xid.c  |    2 +-
>  libc/inet/rpc/xdr.c         |   12 ++++++------
>  libc/inet/rpc/xdr_intXX_t.c |    4 ++--

the rpc code is horrendous ... i'm of the opinion we should encourage people 
to use the TIRPC library rather than the SUNRPC code in uClibc.  the SUNRPC 
has known limitations (which are addressed by the TIRPC library), any drepper 
has already denied enhancements to SUNRPC in glibc (he regrets ever having 
merged it actually).

i'm guessing these casts are for strict aliased warnings ?  i dont think 
casting them away fixes the problem.

>  libc/stdio/_scanf.c         |    8 ++++----
>  libc/stdio/_vfprintf.c      |    8 ++++----
>  libc/stdio/vsnprintf.c      |    4 ++--

merged, cheers
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20080105/7ea52104/attachment-0002.pgp 


More information about the uClibc mailing list