summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-connectivity
diff options
context:
space:
mode:
authorThuy Tran <thuy.tran.xh@renesas.com>2018-07-17 18:23:40 +0700
committerThuy Tran <thuy.tran.xh@renesas.com>2019-02-28 09:43:53 +0700
commitbd6246990c4549a07e1d7e924093dc809cb8a306 (patch)
tree82f926ae3bab3c7e1d070dd02662a5fa6939510f /meta-rcar-gen3/recipes-connectivity
parent0311c6b1a02611971c9ed5a18fb5ce0fe21c5e22 (diff)
rcar-gen3: optee-os: WORKAROUND to build with GCC 8.1
This commit adds NOWERROR=1 to ignore GCC 8 cast-function-type build errors for SYSCALL_ENTRY() [1]. | core/arch/arm/tee/arch_svc.c:47:36: error: cast between incompatible function types from 'void (*)(long unsigned in| t)' to 'TEE_Result (*)(void)' {aka 'unsigned int (*)(void)'} [-Werror=cast-function-type] | #define SYSCALL_ENTRY(_fn) { .fn = (syscall_t)_fn } ^ | core/arch/arm/tee/arch_svc.c:54:2: note: in expansion of macro 'SYSCALL_ENTRY' | SYSCALL_ENTRY(syscall_sys_return), | ^~~~~~~~~~~~~ | core/arch/arm/tee/arch_svc.c:47:36: error: cast between incompatible function types from 'void (*)(const void *, si| ze_t)' {aka 'void (*)(const void *, long unsigned int)'} to 'TEE_Result (*)(void)' {aka 'unsigned int (*)(void)'} [| -Werror=cast-function-type] | #define SYSCALL_ENTRY(_fn) { .fn = (syscall_t)_fn } ^ | core/arch/arm/tee/arch_svc.c:55:2: note: in expansion of macro 'SYSCALL_ENTRY' | SYSCALL_ENTRY(syscall_log), | ^~~~~~~~~~~~~ [1] https://github.com/OP-TEE/optee_os/issues/2393 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/recipes-connectivity')
0 files changed, 0 insertions, 0 deletions