Topic: -Wpacked-not-aligned warning
Hi Forum,
Using WolfSSL with mplabx XC32 compiler shows several warnings related to
-Wpacked-not-aligned
Example:
In file included from ../src/config/default/definitions.h:63,
from ../src/main.c:28:
../src/config/default/library/tcpip/tcpip.h:272:1: warning: alignment 1 of 'struct _IPV6_ADDR_STRUCT' is less than 2 [-Wpacked-not-aligned]
} IPV6_ADDR_STRUCT;
The program compiles but the warnings are numerous, very noisy and makes debugging a bit more difficult.
Is there a way to silence these specific warnings?
Thank you.