DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Olivier MATZ <olivier.matz@6wind.com>,
	Ed Czeck <ed.czeck@atomicrules.com>
Cc: dev@dpdk.org, bruce.richardson@intel.com
Subject: Re: [dpdk-dev] [PATCH] ring: use direct cast to objtype fixes build error
Date: Thu, 06 Apr 2017 16:25:39 +0200	[thread overview]
Message-ID: <2247283.QVfK3IDVRn@xps13> (raw)
In-Reply-To: <20170406161816.6732c826@glumotte.dev.6wind.com>

2017-04-06 16:18, Olivier MATZ:
> On Thu,  6 Apr 2017 09:59:47 -0400, Ed Czeck <ed.czeck@atomicrules.com> 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
> > compilers.  E.g. g++ version 5.8.  Cast directly to object types
> > 
> > Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
> 
> Acked-by: Olivier Matz <olivier.matz@6wind.com>

Does this error happen only with C++?

Please could you give a Fixes line?

  reply	other threads:[~2017-04-06 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06 13:59 Ed Czeck
2017-04-06 14:18 ` Olivier MATZ
2017-04-06 14:25   ` Thomas Monjalon [this message]
2017-04-06 15:16     ` Ed Czeck
2017-04-06 15:40   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2247283.QVfK3IDVRn@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ed.czeck@atomicrules.com \
    --cc=olivier.matz@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).