diff --git a/source/portable/Compiler/IAR/pack_struct_start.h b/source/portable/Compiler/IAR/pack_struct_start.h index a2dff6599..9cd5a3274 100644 --- a/source/portable/Compiler/IAR/pack_struct_start.h +++ b/source/portable/Compiler/IAR/pack_struct_start.h @@ -36,4 +36,7 @@ * end of file not followed by a semicolon or a declarator] emitted by the IAR Compiler */ #pragma diag_suppress=Pe1644 +/* Following line is to suppress the warning about the usage of forward declarations. */ +#pragma diag_suppress=Pe301 + __packed