From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EBC4343DAA; Mon, 1 Apr 2024 19:21:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8823402C9; Mon, 1 Apr 2024 19:21:30 +0200 (CEST) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 050DE4029F for ; Mon, 1 Apr 2024 19:21:29 +0200 (CEST) Received: by linux.microsoft.com (Postfix, from userid 1086) id 3A8D4206FCCD; Mon, 1 Apr 2024 10:21:28 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3A8D4206FCCD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1711992088; bh=r1SVMR+xH42NKadzwNBU5sLWifdTWvGRXmvjVctLKWo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tPHtEnIxw7CX2yPKqoXo3+1XGi0/oa/rU0KzwxDWL+L8N11GsM9DwMNDi0WO//nqx aW0QzIgwgk9YyOgdpL0pYuyESnmmrw2PFK8GBpwFfmaaXN8WMeSmmxxzYD7XJ+9Y8q VqFD20TBKwrM7EZ4E6yueZ3Wt0pgdgXn2LRaYT1k= Date: Mon, 1 Apr 2024 10:21:28 -0700 From: Tyler Retzlaff To: Stephen Hemminger Cc: dev@dpdk.org Subject: Re: [PATCH 1/2] mempool: replace GCC pragma with cast Message-ID: <20240401172128.GB5321@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20240401170257.121047-1-stephen@networkplumber.org> <20240401170257.121047-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240401170257.121047-2-stephen@networkplumber.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Apr 01, 2024 at 10:01:52AM -0700, Stephen Hemminger wrote: > Building mempool with MSVC generates a warning > because of this pragma (same with clang when debug is enabled). > The issue the pragma was working around can be better solved > by using an additional cast. > > Fixes: af75078fece3 ("first public release") > > Signed-off-by: Stephen Hemminger > --- Acked-by: Tyler Retzlaff