[lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-29 Thread Amit Ashara
Hello All, I am using the ARM Compiler from Code Composer Studio and while updating lwIP from 1.4.1 to 2.0.0, I ran into a compilation issue. I get an error for size_t being undefined. Tracing the issue I was able to go past the issue by adding stdlib to arch.h #if !LWIP_NO_STDINT_H #include #in

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-29 Thread Dirk Ziegelmeier
I added it, thanks for reporting! ​ http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=182d7c138a5b845c74b7d364ee07af6105d8e786 Dirk On Tue, Nov 29, 2016 at 10:19 PM, Amit Ashara wrote: > Hello All, > > I am using the ARM Compiler from Code Composer Studio and while updating > lwIP from 1.4.

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Freddie Chopin
On Wed, 2016-11-30 at 07:45 +0100, Dirk Ziegelmeier wrote: > I added it, thanks for reporting! It was behaving the same way in the git version prior to 2.0.0 and I guess the "standard" approach to that was to include in your arch/cc.h file. I think that such issue was reported to the mailing list

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Simon Goldschmidt
Freddie Chopin wrote: > It was behaving the same way in the git version prior to 2.0.0 and I > guess the "standard" approach to that was to include in your > arch/cc.h file. I think that such issue was reported to the mailing > list in the past and that was the suggested approach. It was like tha

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Dirk Ziegelmeier
Since it was already included in several lwIP .c/.h files, I simply decided to move it to a central place: arch.h. So my change should not break anything or make lwIP less portable as it was before. Dirk On Wed, Nov 30, 2016 at 11:07 AM, Simon Goldschmidt wrote: > Freddie Chopin wrote: > > It

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
So what is the final solution. Adding the stdlib.h in arch/cc.h or as what Dirk has made changes? Is there going to be an incremental release of lwIP or should I make the same changes as Dirk and use lwIP-2,0.0 ~Amit On Wed, Nov 30, 2016 at 4:34 AM, Dirk Ziegelmeier wrote: > Since it was alrea

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Simon Goldschmidt
Amit Ashara wrote: > Is there going to be an incremental release of lwIP Yes. 2.0.1 will be coming as soon as we'll need it (i.e. as soon as there are enough bugs fixed from 2.0.0 to justify releasing it). The time from 1.4.1 to 2.0.0 was way too long. This mainly was because the integration of

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
Hello Simon We are using 1.4.1 and we get a lot of queries on when we will migrate to 2.0.0 The other being to correct the LLDP stack as was being discussed in the Another thread. Regards Amit Ashara > On Nov 30, 2016, at 6:58 AM, Simon Goldschmidt wrote: > > Amit Ashara wrote: >> Is ther

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
Hello Freddie That helped too. I added the include in the arch/cc.h for the device port. Regards Amit On Wed, Nov 30, 2016 at 3:14 AM, Freddie Chopin wrote: > On Wed, 2016-11-30 at 07:45 +0100, Dirk Ziegelmeier wrote: > > I added it, thanks for reporting! > > It was behaving the same way in th