Re: [dpdk-dev] [PATCH] mbuf: properly cast shared data

2018-05-18 Thread Thomas Monjalon
16/05/2018 13:10, David Marchand: > Including rte_mbuf.h in C++ triggers the following warning as C++ does not > allow implicit casting of a void *. > > In file included from test.cpp:1:0: > x86_64-native-linuxapp-gcc/include/rte_mbuf.h: In function > ‘rte_mbuf_ext_shared_info* rte_pktmbuf_ext_shi

[dpdk-dev] [PATCH] mbuf: properly cast shared data

2018-05-16 Thread David Marchand
Including rte_mbuf.h in C++ triggers the following warning as C++ does not allow implicit casting of a void *. In file included from test.cpp:1:0: x86_64-native-linuxapp-gcc/include/rte_mbuf.h: In function ‘rte_mbuf_ext_shared_info* rte_pktmbuf_ext_shinfo_init_helper(void*, uint16_t*, rte_mbuf_ext