summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/include/rcar-gen3-modules-common.inc
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@renesas.com>2018-07-17 16:08:23 +0700
committerThuy Tran <thuy.tran.xh@renesas.com>2019-02-28 09:43:53 +0700
commit8c65ee48730882afd0f99ac10acbbe46ecc5c48d (patch)
tree03b1f477b526cbf357faeda00b93c5f82ad010b5 /meta-rcar-gen3/include/rcar-gen3-modules-common.inc
parent73716ce27ed60f5b470fca2e502ba4770b9d0ef4 (diff)
rcar-gen3: adsp-if-module: WORKAROUND to fix compile error with GCC 8.1
Current ADSP source code will get compilation error with GCC 8.1 due to new command-line option -Wpacked-not-aligned have been added for the C and C++ compilers. | In file included from ./include/xf-ap.h:46, from proxy/xf-proxy.c:26: | ./include/xf-ap-msg.h:128:1: error: alignment 1 of 'struct xf_ext_param_msg' is less than 4 [-Werror=packed-not-ali| gned] | } __attribute__ ((__packed__)) xf_ext_param_msg_t; | ^ | In file included from ./include/xf-ap.h:46, from proxy/xf-trace.c:20: | ./include/xf-ap-msg.h:128:1: error: alignment 1 of 'struct xf_ext_param_msg' is less than 4 [-Werror=packed-not-ali| gned] | } __attribute__ ((__packed__)) xf_ext_param_msg_t; | ^ This commit silenced -Wpacked-not-aligned errors when compiling this ADSP module. Signed-off-by: Thuy Tran <thuy.tran.xh@renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/include/rcar-gen3-modules-common.inc')
0 files changed, 0 insertions, 0 deletions