-
Notifications
You must be signed in to change notification settings - Fork 26
Description
I was trying to build xevd in my linux - system
but During the build process, my system always sends this warnings and faild to "make"
/home/waganawa/문서/RA/xevd/src_main/xevdm.c: In function ‘xevd_apply_filter’:
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3204:34: error: storing the address of local variable ‘g_dra_control_effective’ in ‘*mctx.pps_dra_params’ [-Werror=dangling-pointer=]
3204 | mctx->pps_dra_params = (void )&(g_dra_control_effective.signalled_dra);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3187:21: note: ‘g_dra_control_effective’ declared here
3187 | DRA_CONTROL g_dra_control_effective;
| ^~~~~~~~~~~~~~~~~~~~~~~
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3187:21: note: ‘ctx’ declared here
/home/waganawa/문서/RA/xevd/src_main/xevdm.c: In function ‘xevd_decode’:
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3610:34: error: storing the address of local variable ‘dra_control_effective’ in ‘(XEVDM_CTX *)id.pps_dra_params’ [-Werror=dangling-pointer=]
3610 | mctx->pps_dra_params = &(dra_control_effective.signalled_dra);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3593:17: note: ‘dra_control_effective’ declared here
3593 | DRA_CONTROL dra_control_effective;
| ^~~~~~~~~~~~~~~~~~~~~
/home/waganawa/문서/RA/xevd/src_main/xevdm.c:3593:17: note: ‘id’ declared here
cc1: all warnings being treated as errors
is there something I missed?