DPDK patches and discussions
 help / color / mirror / Atom feed
From: Olivier MATZ <olivier.matz@6wind.com>
To: 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, 6 Apr 2017 16:18:16 +0200	[thread overview]
Message-ID: <20170406161816.6732c826@glumotte.dev.6wind.com> (raw)
In-Reply-To: <1491487187-19577-1-git-send-email-ed.czeck@atomicrules.com>

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>

  reply	other threads:[~2017-04-06 14:17 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 [this message]
2017-04-06 14:25   ` Thomas Monjalon
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=20170406161816.6732c826@glumotte.dev.6wind.com \
    --to=olivier.matz@6wind.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=ed.czeck@atomicrules.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).