summaryrefslogtreecommitdiffstats
path: root/src/vcl/sock_test_client.c
diff options
context:
space:
mode:
authorLijian Zhang <Lijian.Zhang@arm.com>2018-08-07 11:11:58 +0800
committerDamjan Marion <dmarion@me.com>2018-08-17 11:39:30 +0000
commitf315410543a023f8ae6ed352a342fac961d4cfa4 (patch)
tree0b425045d4e45889a7cabda66ac98f74977c1c1d /src/vcl/sock_test_client.c
parenta0c29a9a8af284891e8805092a6cd379ea9d3657 (diff)
fix compiling warnings with GCC
GCC 7 plus Ubuntu-16.04 default ccache 3.2.4 reports warnings on switch case fall-through code, which is commonly seen in DPDK code, which will cause image building failure finally. It requires newer ccache version to support -Wimplicit-fallthrough. To suppress the warning, if GCC is version 7 or higher, and it's old ccache version, will disable the fall-through check. dpdk-18.05/drivers/net/ark/ark_ethdev_rx.h:39:0, from dpdk-18.05/drivers/net/ark/ark_ethdev_rx.c:36: dpdk-18.05/arm64-armv8a-linuxapp-gcc/include/rte_mbuf.h: In function ‘rte_pktmbuf_alloc_bulk’: dpdk-18.05/arm64-armv8a-linuxapp-gcc/include/rte_mbuf.h:1292:7: error: this statement may fall through [-Werror=implicit-fallthrough=] idx++; ~~~^~ Change-Id: I4d12492471fadef9d349ba9e853a6799512f76f5 Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com>
Diffstat (limited to 'src/vcl/sock_test_client.c')
0 files changed, 0 insertions, 0 deletions