lwip-users
[Top][All Lists]
Advanced

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

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


From: Amit Ashara
Subject: [lwip-users] Issue in arch.h for lwIP 2.0.0
Date: Tue, 29 Nov 2016 15:19:28 -0600

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 <stdint.h>
#include <stdlib.h>
typedef uint8_t   u8_t;
typedef int8_t    s8_t;
typedef uint16_t  u16_t;
typedef int16_t   s16_t;
typedef uint32_t  u32_t;
typedef int32_t   s32_t;
typedef uintptr_t mem_ptr_t;
#endif

"D:/ti/TivaWare_C_Series-2.1.3.156/third_party/lwip-2.0.0/src/include/lwip/def.h", line 124: error #20: identifier "size_t" is undefined

Can any of the lwIP developers confirm if this is expected issue?

As a side note: after making the change lwIP 2.0.0 works great with TM4C devices.

Thanks and Regards
Amit Ashara

reply via email to

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