From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by dpdk.org (Postfix) with ESMTP id 18C222BF5 for ; Thu, 6 Apr 2017 16:25:40 +0200 (CEST) Received: by mail-wr0-f172.google.com with SMTP id t20so64912492wra.1 for ; Thu, 06 Apr 2017 07:25:40 -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=Jpru/Hk1+POR1phBn9Qul3g4uaumud55fS/SS0EGe3U=; b=qFZmaUy92qXTugAAHwRW/V3gGcLIyoLncNWwQ5hh9pQAQEFsT1/nU19DygNtK3Fldz AEfyfLJrfA7P5l9yVM9VAGtQu61QBQ5F/hXbeiO0B65ajbnwmExTNW1+EkXedslM3JGM /o6BuTYZ0lv7v6CTTBAeGE/AE15QfG3z8YpOfI4V7VbIxjaSdc9nPRG/92aOYQVeP0Sj D9GKONgftfpk+6RQA5M0PW4iGU/gSf0ZxT5Sq3jQbih9i0FCnqixVR4d7iLUVkOKahiI FaVQ3AFw1qatKPWBtyyy6YBu9uXz64mbPgxCzjzi4+xJmUdIHFmmbdYsyMUEE69cG0/b pbwQ== 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=Jpru/Hk1+POR1phBn9Qul3g4uaumud55fS/SS0EGe3U=; b=J/7PEqbmAw639LnFoXnTNBMnYx+W7s+6Edm31YM4eu8QixLdU1z6OMl7cmTwMSceaJ 89dtQ81sr3kwsobk4k4q3l2ozFI7Tczhf6AUbwU2I/qbPdhzD1vk9UPS0Mbjyd1b8goq GxrmisSNWdtuW3fZksmu7z8bny2Pcld3SIAetOZ1VfwMgxBvfkiXNHLYKLinU4iI4ynl E36qjGTlLvwRgQlr3XnFNinH6EoyCrTWDcyGKnp3c3rE8oC4Iy6sQOTyjqbtQlq5IRjl /UrsZhnesyE0EFWsNfMFmwVR9+4wEHSKnpdvIXZ47Lrv+hTg9JVW0nGDjj7pjziQKzNx Kz/Q== X-Gm-Message-State: AFeK/H1aV7QgqDnFKk3zLv9MeVqfdE3mjBgHr0MPIayMawWeSLxiUCFa1u1kOMGloNQbaI3j X-Received: by 10.223.160.116 with SMTP id l49mr32614363wrl.24.1491488740732; Thu, 06 Apr 2017 07:25:40 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id 55sm2351878wrz.27.2017.04.06.07.25.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 07:25:39 -0700 (PDT) From: Thomas Monjalon To: Olivier MATZ , Ed Czeck Cc: dev@dpdk.org, bruce.richardson@intel.com Date: Thu, 06 Apr 2017 16:25:39 +0200 Message-ID: <2247283.QVfK3IDVRn@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 14:25:41 -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 Does this error happen only with C++? Please could you give a Fixes line?