2017-04-06 16:18, Olivier MATZ:
> On Thu, 6 Apr 2017 09:59:47 -0400, Ed Czeck wrote:
> > build error:
> > include/rte_ring.h:459:22: error: invalid conversion from ‘void*’
> > to ‘void**’ [-fpermissive]
> > ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *);
> >
> > Implicit casts of void
This error has been observed with g++ 4.8 and g++ 5.4
Fixes: a6619414 ("ring: make struct and macros type agnostic")
On Thu, Apr 6, 2017 at 10:25 AM, Thomas Monjalon
wrote:
>
> Does this error happen only with C++?
>
> Please could you give a Fixes line?
2017-04-06 16:18, Olivier MATZ:
> On Thu, 6 Apr 2017 09:59:47 -0400, Ed Czeck wrote:
> > build error:
> > include/rte_ring.h:459:22: error: invalid conversion from ‘void*’
> > to ‘void**’ [-fpermissive]
> > ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *);
> >
> > Implicit casts of void
On Thu, 6 Apr 2017 09:59:47 -0400, Ed Czeck wrote:
> build error:
> include/rte_ring.h:459:22: error: invalid conversion from ‘void*’
> to ‘void**’ [-fpermissive]
> ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *);
>
> Implicit casts of void* to void** are considered warnings in some
>
build error:
include/rte_ring.h:459:22: error: invalid conversion from ‘void*’
to ‘void**’ [-fpermissive]
ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *);
Implicit casts of void* to void** are considered warnings in some
compilers. E.g. g++ version 5.8. Cast directly to object types
S
5 matches
Mail list logo