From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com [209.85.128.169]) by dpdk.org (Postfix) with ESMTP id B0677108D for ; Thu, 6 Apr 2017 17:40:04 +0200 (CEST) Received: by mail-wr0-f169.google.com with SMTP id t20so68525163wra.1 for ; Thu, 06 Apr 2017 08:40:04 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=KA7y/tsoufxa/IYmIZVlgOGMTIGmHYfnrMttLEzlPuQ=; b=Uusc9kzRYuKbfiqW6+elttzoSvdOtZrBz8DRGiaN4E8mK7o2XwpzsJbQxT/fEEUTOr ZzAEKPpP0Y6EgBdfGrFa5ZoO42lsSHPH8i5refnxkiHazBtYzHvevH9LBz/6vpWZUHl/ c/ojR0hEfmgZkmj6wnr9//CS7pnGoobQTyRuDY20tdYxhqbFVP3aLvkCb1k5bdPXz8EV X1pyy9uNd00Ievd5TsxYS+QV7v5ZBNMmO6iwHjxexOGMQWEOHtHcIPqfKAbzWedjlj5I 8OodyTBjV4jY3CybTXrXFEG6/VxELQHrkoUryTvzmqMFS0D8iaDAFFZMfLfKKQ0OWzGq u2WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=KA7y/tsoufxa/IYmIZVlgOGMTIGmHYfnrMttLEzlPuQ=; b=BrcMpL0pl8AoB/8AJK+m6m1nHtOWRIvMXWyL/6EGnaWTqNYo/v/C9FEXkuzGq4ldFO kvcuz8ziB4fSWIbeo3r6HIIs+cueK50sHdVkele/9s4mbkC9VAgJqNhARhuaiwUEv11k Uf1Yn0rtEvDXRf9HiIliOfPl55OfTqVIv78XaZRQJa8CIZb0sS8v5p7+/3xNQNgsqyOw P8YsXR3WWLqpimPnwb7RD5ne/CWphSjCsY4s4O5FweN3RZR1AbJaE3BKipWTtjJWkbSB FPDHPdwQBeM+nRZQsGW1JaW0NG5hWXJIQWtQkxg17+g2yBcdd/HxEIeawziX5ABh9Bl9 hnoQ== X-Gm-Message-State: AFeK/H1W95tpmqB+EDimjGejyb+wUJbKbfCqK/eiFNMGzltV4a2EBLdULT43+LKKsXTOPvDp X-Received: by 10.28.217.136 with SMTP id q130mr23748776wmg.132.1491493204488; Thu, 06 Apr 2017 08:40:04 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id b66sm2583400wrd.29.2017.04.06.08.40.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 08:40:03 -0700 (PDT) From: Thomas Monjalon To: Ed Czeck Cc: dev@dpdk.org, Olivier MATZ , bruce.richardson@intel.com Date: Thu, 06 Apr 2017 17:40:02 +0200 Message-ID: <4562207.kPIcQ48sby@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170406161816.6732c826@glumotte.dev.6wind.com> References: <1491487187-19577-1-git-send-email-ed.czeck@atomicrules.com> <20170406161816.6732c826@glumotte.dev.6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH] ring: use direct cast to objtype fixes build error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 15:40:04 -0000 2017-04-06 16:18, Olivier MATZ: > On Thu, 6 Apr 2017 09:59:47 -0400, Ed Czeck wrote: > > build error: > > include/rte_ring.h:459:22: error: invalid conversion from =E2=80=98= void*=E2=80=99 > > to =E2=80=98void**=E2=80=99 [-fpermissive] > > ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *); > >=20 > > Implicit casts of void* to void** are considered warnings in some > > compilers. E.g. g++ version 5.8. Cast directly to object types > >=20 > > Signed-off-by: Ed Czeck >=20 > Acked-by: Olivier Matz Applied, thanks