IAR inlining and enum warning off

This commit is contained in:
toddouska
2012-08-20 16:58:11 -07:00
parent e2ae36f149
commit 7a12fb3e6b
2 changed files with 6 additions and 0 deletions

View File

@@ -164,6 +164,10 @@
#endif
#define CYASSL_LWIP
#define CYASSL_SAFERTOS
#if defined(__IAR_SYSTEMS_ICC__)
/* enum uses enum */
#pragma diag_suppress=Pa089
#endif
#endif
#ifdef CYASSL_SAFERTOS

View File

@@ -108,6 +108,8 @@ enum {
#define INLINE inline
#elif defined(THREADX)
#define INLINE _Inline
#elif defined(__IAR_SYSTEMS_ICC__)
#define INLINE inline
#else
#define INLINE
#endif