[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] bug report
From: |
Martin Velek |
Subject: |
Re: [lwip-users] bug report |
Date: |
Sun, 7 Mar 2010 12:05:01 +0100 |
Thank you for username.
It looks like to be correct.
I think that the most portable are thouse defined in cc.h. Anyway I am
trying to be consistent with
http://lwip.wikia.com/wiki/Porting_for_an_OS but it is quite hard if
the core is not.
Martin
On 7 March 2010 10:03, address@hidden <address@hidden> wrote:
> 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
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
- [lwip-users] bug report, Martin Velek, 2010/03/05
- Re: [lwip-users] bug report, Jeff Barber, 2010/03/05
- Re: [lwip-users] bug report, Kieran Mansley, 2010/03/05
- RE: [lwip-users] bug report, Bill Auerbach, 2010/03/05
- Re: [lwip-users] bug report, Martin Velek, 2010/03/05
- Re: [lwip-users] bug report, address@hidden, 2010/03/07
- Re: [lwip-users] bug report, robin, 2010/03/07
- Re: [lwip-users] bug report,
Martin Velek <=
- Re: [lwip-users] bug report, address@hidden, 2010/03/07
- Re: [lwip-users] bug report, Kieran Mansley, 2010/03/08
- Re: [lwip-users] bug report, Jeff Barber, 2010/03/05