diff --git a/cyassl/ctaocrypt/settings.h b/cyassl/ctaocrypt/settings.h index 7b92f6224..8fcb58b67 100644 --- a/cyassl/ctaocrypt/settings.h +++ b/cyassl/ctaocrypt/settings.h @@ -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 diff --git a/cyassl/ctaocrypt/types.h b/cyassl/ctaocrypt/types.h index 0c9bff635..0704b0b5c 100644 --- a/cyassl/ctaocrypt/types.h +++ b/cyassl/ctaocrypt/types.h @@ -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