This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Speed-up sprintf() family of functions.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]