Re: [dpdk-dev] [PATCH v3] trace: fix compilation with C++

2020-09-17 Thread David Marchand
On Wed, Aug 12, 2020 at 11:52 AM wrote: > > From: Pawel Wodkowski > > trace_mem is declared as 'void *' which triggers following error: > '...invalid conversion from ‘void*’ to ‘__rte_trace_header*’ > [-fpermissive]...' > > Fix this by adding proper typecast to 'struct __rte_trace_header *'. > >

Re: [dpdk-dev] [PATCH v3] trace: fix compilation with C++

2020-09-11 Thread Chautru, Nicolas
Hi, > -Original Message- > From: sk...@marvell.com > > trace_mem is declared as 'void *' which triggers following error: > '...invalid conversion from ‘void*’ to ‘__rte_trace_header*’ > [-fpermissive]...' > > Fix this by adding proper typecast to 'struct __rte_trace_header *'. > > Fixe

[dpdk-dev] [PATCH v3] trace: fix compilation with C++

2020-08-12 Thread skori
From: Pawel Wodkowski trace_mem is declared as 'void *' which triggers following error: '...invalid conversion from ‘void*’ to ‘__rte_trace_header*’ [-fpermissive]...' Fix this by adding proper typecast to 'struct __rte_trace_header *'. Fixes: ebaee6409702 ("trace: simplify trace point headers"