lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] bug report


From: address@hidden
Subject: Re: [lwip-users] bug report
Date: Sun, 07 Mar 2010 10:03:06 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

Martin Velek wrote:
The problem is not a standard(C89) compiler, the problem is the
standard sprintf function. As you know the embedded system is limited
in source and full sprintf uses a lot of stack and ROM code. For this
reasons, there are many simple replacement of sprintf but of course
with a limited functionality, e.g. only %s, %u, %c, %d...

The question is: Why is in the rest of code used standard data types
defined in cc.h and just here, there is one harcoded?

The second question: Why I am reporting this behavior twice a year
with the same questions and answers?  ;-)
Because we haven't got a common standard which printf-formatters are really portable and which aren't. And nearly no compiler warns about unportable printf-formatters when adding them to the code :-(

I've added a bug tracker entry on this so that it doesn't get forgotten.
BTW: a search for "Martin Velek" on savannah leads to the username "allew"...

Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]