[PATCH] libc: cleanup some compile warnings
Hans-Christian Egtvedt
hcegtvedt at atmel.com
Mon Feb 18 06:49:13 UTC 2008
On Sat, 2008-01-05 at 04:29 -0500, Mike Frysinger wrote:
> 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.
>
Agreed, I saw some other work lately on the list about strict aliased
warnings. Although, unsure if it touched the RPC code.
> > libc/stdio/_scanf.c | 8 ++++----
> > libc/stdio/_vfprintf.c | 8 ++++----
> > libc/stdio/vsnprintf.c | 4 ++--
>
> merged, cheers
>
Thanks.
Sorry about all the late answers.
--
With kind regards,
Hans-Christian Egtvedt, Applications Engineer
More information about the uClibc
mailing list