I’ve a project in IAR which use freeRTOS+TCP. When I compile there were a lot of warnings like this:
FreeRTOS_IP_Private.h",229 Warning[Pe1644]:
definition at end of file not followed by a semicolon or a declarator
}
I have incuded pack_struct_start.h and pack_struct_end.h in my project and they are used but it seems IAR compiler doesn’t like the pack_struct_end.h which only have a ;
I created an IAR project with FreeRTOS+TCP and I am able to repro this warning. I have also verified the preprocessor output and this seems like an incorrect warning from the compiler. If I remove the semi-colon from the pack_struct_end.h, it results in an error confirming that the compiler does see the semi colon.
So we can conclude that this warning is not important and you can safely suppress it.