forked from wolfSSL/wolfssl
IAR inlining and enum warning off
This commit is contained in:
@@ -164,6 +164,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#define CYASSL_LWIP
|
#define CYASSL_LWIP
|
||||||
#define CYASSL_SAFERTOS
|
#define CYASSL_SAFERTOS
|
||||||
|
#if defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
/* enum uses enum */
|
||||||
|
#pragma diag_suppress=Pa089
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CYASSL_SAFERTOS
|
#ifdef CYASSL_SAFERTOS
|
||||||
|
@@ -108,6 +108,8 @@ enum {
|
|||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#elif defined(THREADX)
|
#elif defined(THREADX)
|
||||||
#define INLINE _Inline
|
#define INLINE _Inline
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__)
|
||||||
|
#define INLINE inline
|
||||||
#else
|
#else
|
||||||
#define INLINE
|
#define INLINE
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user