mirror of https://github.com/F-Stack/f-stack.git
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:
parent
3a84cd1fec
commit
f065aa325e
|
@ -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
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue