From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com [74.125.82.50]) by dpdk.org (Postfix) with ESMTP id 0E5F8C36C for ; Fri, 5 Feb 2016 22:35:10 +0100 (CET) Received: by mail-wm0-f50.google.com with SMTP id g62so64947876wme.0 for ; Fri, 05 Feb 2016 13:35:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=qPssq5qc3mjWK3XJ4vAfT8XtvrHLd41n7WiChQIjRZo=; b=FqZGVaOqcKaXp1vXdkP/YGI4UAm7X2hKvTNLwJfUUDhmONIUv0tjwu3929tabrmz2r vG8lDeUwt24snWU9IB2Cjz/9peKjQ4uOs1FoWhWzIH1fyEJYZQKl7aZ8aVErK5jMtHOG soyMwNK3zgrhMY7/37Gii1nNlF39mE8yJv8AcTyB39jZr8AS4FF3CRsUv6DsV+bJnjx0 6sMZoaSPNv/d7xLeOsP1BZexnvQhEss2pYiL/b/KrRXN7001U1dM4uZutAVsyOzbt1uS k0g9iqAL1KmM2OFrGIvXGg2wGsYfvihzgi7DqSbMUIRhD7gqQPWM7Q7ZSrsFNc271exT YGwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=qPssq5qc3mjWK3XJ4vAfT8XtvrHLd41n7WiChQIjRZo=; b=czuECqr3S7QvjKOWrK802v23QJa3Hwe8HAkZnNggbp6XNvYaDWMiSW3BJac0mMbEtB x0eHTAG/D9/Xbow54LevDuySzYf1rqqYifut+rJXfmugtooDboVJCUCZhMzlPrHbhX9V FzXnyQESx6KuD+00hhx9EcgvxaJuiWjjln6VqNy8bx+X4h40PwGWTbKN4wWFk33yPMcA /EcmRwA3i+w3ITHqrY/mYqwIildK3VBVnL2c0c3PWhlIayI7gu7ztp2qqQE0v0j+1SVs V53aOb1qUnUOQ9qH6xqs90nhuUslPdLi4EdH+UmIJzJkbqLWvr+otODeK1FrLv2gQ/SV fHVw== X-Gm-Message-State: AG10YORyj5hfdM/lPne2Eb7RWiJiaT9Gfeqzh2PWFl9kliRDR/bg3Hp8ZRgcrHaW6KVX5ijt X-Received: by 10.194.23.232 with SMTP id p8mr18616491wjf.80.1454708109914; Fri, 05 Feb 2016 13:35:09 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ka4sm17609846wjc.47.2016.02.05.13.35.09 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 13:35:09 -0800 (PST) From: Thomas Monjalon To: declan.doherty@intel.com Date: Fri, 05 Feb 2016 22:33:52 +0100 Message-ID: <2463663.EJ4CgRJCTt@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1454691969-25734-4-git-send-email-thomas.monjalon@6wind.com> References: <1454691969-25734-1-git-send-email-thomas.monjalon@6wind.com> <1454691969-25734-4-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 3/3] mbuf_offload: fix header for C++ X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 21:35:10 -0000 2016-02-05 18:06, Thomas Monjalon: > When built in a C++ application, the include fails for 2 reasons: >=20 > rte_mbuf_offload.h:128:24: error: > invalid conversion from =E2=80=98void*=E2=80=99 to =E2=80=98rte_pktmb= uf_offload_pool_private*=E2=80=99 [-fpermissive] > rte_mempool_get_priv(mpool); > ^ [...] > =09struct rte_pktmbuf_offload_pool_private *priv =3D > -=09=09=09rte_mempool_get_priv(mpool); > +=09=09(rte_pktmbuf_offload_pool_private *)rte_mempool_get_priv(mpool= ); self-nack: a struct keyword is missing