When compiling with GCC we hit compilation error of taking address

of packed member.

This adds -Wno-address-of-packed-member to avoid this warning.
This commit is contained in:
Philip Herron 2020-10-15 14:58:21 +01:00
parent 3a84cd1fec
commit f065aa325e
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
endif
ifeq (${COMPILER_TYPE},gcc)
CWARNEXTRA?= -Wno-unused-but-set-variable
CWARNEXTRA?= -Wno-unused-but-set-variable -Wno-address-of-packed-member
endif
#