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 6E5EB41DAC for ; Wed, 1 Mar 2023 17:33:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6884D4161A; Wed, 1 Mar 2023 17:33:47 +0100 (CET) Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mails.dpdk.org (Postfix) with ESMTP id B9F584114A; Wed, 1 Mar 2023 17:33:44 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id F30C832004E7; Wed, 1 Mar 2023 11:33:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 01 Mar 2023 11:33:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1677688422; x= 1677774822; bh=6cPTfzLWF581Fqnwz37KyaKQjArfLlcoeJZu0/G1uSU=; b=A gglFjalv8QJjCmF3slPp/LtSpy1HNXpKSSDwglU0dS5K554LcW2hLiORyXsVtr1R irO87bW3NTD4M2OnPg1lwKdcm95WWGtLCdps9+H9FDI3eT7tUpDQ6QXeE2wg0pAG h4sFsGqFMNEtqipWCFGq3pHSuBaYSC7o/G+fcCE7dizfbAHflZ3pTRD8Fdf20QtR H24jAt4PGfoonGkDbePrFkgoxh1PUMwyLxF71uF1xfgB5eyJqyTBlOZQvIfrbaEw IJM+Je3fo5Jxv2NHDXXUMT3WFI/CHW5eSTpm9hwCUNQ99ZNoIZHN7FpgR5a96OsR cavUKAFrM6WUdbKS9c31g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1677688422; x= 1677774822; bh=6cPTfzLWF581Fqnwz37KyaKQjArfLlcoeJZu0/G1uSU=; b=H xLot5IeGCnReBU5MPF4NGxN4dor4xlkMb7mKlTsYaMFJBJt0RwXXVkLZSsGRSyv+ shMLqVZyyQZfqlJ3zhwxuLERM9lg8ut5AMgSffXJ0WxKQyeHHLntJQYo/EsRl7ws Qr883nXJkm43Bx2jNL2WGpmz2KhtYAOxpTmLdJvNHGmu7S+oBnk71unVXWlMAVRp ylVmPfO4djZHYaxIMluAMoLjofksobXrZyrHFwvFF4a/wuUzgnfbZx1L1g2+j3im KeIRvodRP5txgpSWolEmUryWSrcn7l8oxRI7oNRsqS5Mu0QD69/tt5h/s6/yyQgn S2Jjv6IZupFxhjKMgnYbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudelhedgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Mar 2023 11:33:40 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Tal Shnaiderman , stable@dpdk.org, Tyler Retzlaff , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam , Bruce Richardson , Ranjit Menon , Keith Wiles , rasland@nvidia.com Subject: Re: [PATCH v2 1/4] eal/windows: fix pedantic build Date: Wed, 01 Mar 2023 17:33:39 +0100 Message-ID: <3673014.tiCG3LdiiZ@thomas> In-Reply-To: <20230112203719.1528619-2-thomas@monjalon.net> References: <20230105161020.247780-1-thomas@monjalon.net> <20230112203719.1528619-1-thomas@monjalon.net> <20230112203719.1528619-2-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org 12/01/2023 21:37, Thomas Monjalon: > MinGW GCC 12 shows an illegal pointer conversion > when included in a pedantic module: > > lib/eal/windows/include/pthread.h:137:41: error: > ISO C forbids conversion of object pointer to function pointer type > [-Werror=pedantic] > 137 | hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)threadfunc, > | ^ > > Fixes: e8428a9d89f1 ("eal/windows: add some basic functions and macros") > Cc: stable@dpdk.org > > By using uintptr_t, the compiler is forced to accept the conversion. > > Signed-off-by: Thomas Monjalon > Acked-by: Tyler Retzlaff Applied this single patch, so the rest of the series can be managed in mlx tree.