From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from an.kaist.ac.kr (an.kaist.ac.kr [143.248.48.110]) by dpdk.org (Postfix) with ESMTP id 3BCE98D4D for ; Mon, 17 Aug 2015 14:28:32 +0200 (CEST) Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by an.kaist.ac.kr (Postfix) with ESMTPSA id 9552536202B6 for ; Mon, 17 Aug 2015 21:28:44 +0900 (KST) Received: by obnw1 with SMTP id w1so110093904obn.3 for ; Mon, 17 Aug 2015 05:28:25 -0700 (PDT) X-Received: by 10.60.36.225 with SMTP id t1mr1028901oej.0.1439814505026; Mon, 17 Aug 2015 05:28:25 -0700 (PDT) MIME-Version: 1.0 References: <1439370664-25728-1-git-send-email-balabanovsv@ecotelecom.ru> <55D197E8.5040501@6wind.com> In-Reply-To: <55D197E8.5040501@6wind.com> From: Joongi Kim Date: Mon, 17 Aug 2015 12:28:15 +0000 Message-ID: To: Olivier MATZ , Sergey Balabanov , dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] mbuf & mempool: explicit typecast on function return 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: Mon, 17 Aug 2015 12:28:33 -0000 I already have fixed this issue at http://dpdk.org/dev/patchwork/patch/6068= / . There is another issue related to "underlying type" for enum declarations http://dpdk.org/dev/patchwork/patch/6067/, for C++11 compilers. In the second patch I missed updating headers for architectures other than x86, so it needs to be updated before applying to the master branch. It would be great for me to have this fixed on the master branch, as I am manually applying above patches whenever I pull the latest codes. Regards, Joongi 2015=EB=85=84 8=EC=9B=94 17=EC=9D=BC (=EC=9B=94) =EC=98=A4=ED=9B=84 5:15, O= livier MATZ =EB=8B=98=EC=9D=B4 =EC=9E=91=EC=84=B1: > Hi Sergey, > > On 08/12/2015 11:11 AM, Sergey Balabanov wrote: > > When DPDK is being compiled in C++ project using g++ then > > 'invalid conversion from' error appears. Added explicit > > typecast on function return to get rid of the error. > > > > Signed-off-by: Sergey Balabanov > > > Fixes: 7755baae8378 ("mbuf: silence warning on pointer arithmetic") > Fixes: 6cf14ce4ce6c ("mempool: silence warning on pointer arithmetic") > > Acked-by: Olivier Matz > > Thanks >