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 8d21adc4b7
commit a1d3d0a7ad
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 endif
ifeq (${COMPILER_TYPE},gcc) ifeq (${COMPILER_TYPE},gcc)
CWARNEXTRA?= -Wno-unused-but-set-variable CWARNEXTRA?= -Wno-unused-but-set-variable -Wno-address-of-packed-member
endif endif
# #