All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: declan.doherty@intel.com
Cc: dev@dpdk.org
Subject: Re: [PATCH 3/3] mbuf_offload: fix header for C++
Date: Fri, 05 Feb 2016 22:33:52 +0100	[thread overview]
Message-ID: <2463663.EJ4CgRJCTt@xps13> (raw)
In-Reply-To: <1454691969-25734-4-git-send-email-thomas.monjalon@6wind.com>

2016-02-05 18:06, Thomas Monjalon:
> When built in a C++ application, the include fails for 2 reasons:
> 
> rte_mbuf_offload.h:128:24: error:
> invalid conversion from ‘void*’ to ‘rte_pktmbuf_offload_pool_private*’ [-fpermissive]
>     rte_mempool_get_priv(mpool);
>                         ^
[...]
>  	struct rte_pktmbuf_offload_pool_private *priv =
> -			rte_mempool_get_priv(mpool);
> +		(rte_pktmbuf_offload_pool_private *)rte_mempool_get_priv(mpool);

self-nack: a struct keyword is missing

  reply	other threads:[~2016-02-05 21:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05 17:06 [PATCH 0/3] fix C++ includes Thomas Monjalon
2016-02-05 17:06 ` [PATCH 1/3] eal: fix keep alive header for C++ Thomas Monjalon
2016-02-15 11:16   ` Remy Horton
2016-02-05 17:06 ` [PATCH 2/3] hash: fix " Thomas Monjalon
2016-02-08 13:42   ` De Lara Guarch, Pablo
2016-02-05 17:06 ` [PATCH 3/3] mbuf_offload: " Thomas Monjalon
2016-02-05 21:33   ` Thomas Monjalon [this message]
2016-02-16  7:14 ` [PATCH v2 0/3] fix C++ includes Thomas Monjalon
2016-02-16  7:14   ` [PATCH v2 1/3] eal: fix keep alive header for C++ Thomas Monjalon
2016-02-16 10:16     ` Remy Horton
2016-02-16  7:14   ` [PATCH v2 2/3] hash: fix " Thomas Monjalon
2016-02-16  7:14   ` [PATCH v2 3/3] mbuf_offload: " Thomas Monjalon
2016-02-16 16:21   ` [PATCH v2 0/3] fix C++ includes Ferruh Yigit
2016-02-16 16:26     ` Thomas Monjalon
2016-02-16 18:33       ` Marc
2016-02-21 10:49   ` 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=2463663.EJ4CgRJCTt@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.