From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f178.google.com (mail-wr0-f178.google.com [209.85.128.178]) by dpdk.org (Postfix) with ESMTP id 23E10374C for ; Thu, 6 Apr 2017 16:17:58 +0200 (CEST) Received: by mail-wr0-f178.google.com with SMTP id g19so20569525wrb.0 for ; Thu, 06 Apr 2017 07:17:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=miP2BaKQ6SFzcH5qGYU1TTIeKvInKT5HmZxpbifpyJ0=; b=yokeLVrveXoQnWfTmntN3XpCKWlWWz+CWe3qax951pLeYHdjxkQXPs8ClV9d7thz/s DmLyfvt6MjsoUlRBefnjyRMbOgcpw5XVVfwE7RB8KQqwq9TqokXGrwrQMKPS/MKeLveg BEKG3DVzoUt4240b+CNVPrnaXg4RVR5F6YtPNNyctJcrqJ+3CEGM43yJklBxR3YxSwrG nE+Z8GLNuWzPHmunv6uHHLsTIB5eu+2wg8BtqVFbT6KanL9LHPrXctHOSBx4vs1khaS8 W1NjNn9rZqb+Xa+xxYkok/u67sDUh+ZLfptf1KdH5x1vAMyez4dPZiyllhI+hx9h/11w RFug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=miP2BaKQ6SFzcH5qGYU1TTIeKvInKT5HmZxpbifpyJ0=; b=UIC0JAKYu/Dyo7ZQuiiSRNjUbB4EVe/9szEUlrRosnEGbwxVhJJfGhzMdZBMk2alS/ YritH7oSg9c9SDANtDD25lkAsebgEo2LWQ/BGfH4qzhC5B8q/by+RryCcSk0xrnIOmcV veF3bJsynD9nlSMTJNsWre6GmX8Th0FIat5bu1CulWJt4Kn0ehhYCx81afHrWoWRvB8j V75uJFSrUs17qGEieo8+HqDDry/X+uIho3rsuq3VgMGVCmJxZDd/eu/8T3gLQ1e2ywOd w3xwPVNCK/ZY8xTqkSojhXBODhXpEoZ6z6YGpAk9QGz+UfYo7qKmh3M4Kfa3sQqTzwht K9Ig== X-Gm-Message-State: AFeK/H3GrafIPpCMo/FY5H9aC7fOpbigMZGTxiA1kAfw8muKtqSq71Ju hqRLgq66HHatZjCD X-Received: by 10.28.212.67 with SMTP id l64mr14566634wmg.76.1491488277834; Thu, 06 Apr 2017 07:17:57 -0700 (PDT) Received: from glumotte.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id v108sm2316285wrc.41.2017.04.06.07.17.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Apr 2017 07:17:57 -0700 (PDT) Date: Thu, 6 Apr 2017 16:18:16 +0200 From: Olivier MATZ To: Ed Czeck Cc: dev@dpdk.org, bruce.richardson@intel.com Message-ID: <20170406161816.6732c826@glumotte.dev.6wind.com> In-Reply-To: <1491487187-19577-1-git-send-email-ed.czeck@atomicrules.com> References: <1491487187-19577-1-git-send-email-ed.czeck@atomicrules.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 14:17:58 -0000 On Thu, 6 Apr 2017 09:59:47 -0400, Ed Czeck wro= te: > build error: > include/rte_ring.h:459:22: error: invalid conversion from =E2=80=98void*= =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 Acked-by: Olivier Matz