This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: [PATCH] Speed-up sprintf() family of functions.
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Sergei Organov <osv at javad dot com>
- Cc: ecos-patches at ecos dot sourceware dot org
- Date: Wed, 24 Jan 2007 20:21:33 +0100
- Subject: Re: [PATCH] Speed-up sprintf() family of functions.
- References: <87fyb3x070.fsf@javad.com> <459529B0.8080407@eCosCentric.com> <87wt4allsq.fsf@javad.com> <4596F7EA.4090605@eCosCentric.com> <877iw5kw4k.fsf@javad.com> <459BCA9A.1030007@eCosCentric.com> <87r6tt9abg.fsf@javad.com>
> The updated patch is attached.
>
Hi Sergei
Im looking at the patch now ready for including into anoncvs. I have
one minor problem which needs fixing. When i compile for the linux
target with gcc 4.1.2 i get a warning:
lunn@londo:~/eCos/work$ make -s
headers finished
/home/lunn/eCos/anoncvs-clean/packages/language/c/libc/stdio/current/src/common/vsnprintf.cxx: In function 'int vsnprintf(char*, size_t, const char*, char*)':
/home/lunn/eCos/anoncvs-clean/packages/language/c/libc/stdio/current/src/common/vsnprintf.cxx:106: warning: dereferencing type-punned pointer will break strict-aliasing rules
build finished
Could you try to fix this please. Once i have a fix for this i will
commit your change.
Thanks
Andrew