Open
Description
dpvs master分支代码在arm架构的机器上编译时,发现有一些报错,例如下面的:
/root/dpvs/src/ipvs/ip_vs_service.c:1440:51: error: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘struct dp_vs_get_dests *’ as the destination; expected ‘struct dp_vs_get_dests’ or an explicit length [-Werror=sizeof-pointer-memaccess]
1440 | rte_memcpy(output, get, sizeof(get));
| ^