From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 96CEDA04DB; Thu, 10 Dec 2020 01:53:45 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D3B3ABE77; Thu, 10 Dec 2020 01:53:43 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by dpdk.org (Postfix) with ESMTP id 2DBF198 for ; Thu, 10 Dec 2020 01:53:41 +0100 (CET) Received: by linux.microsoft.com (Postfix, from userid 1059) id 6D9AB20B717A; Wed, 9 Dec 2020 16:53:40 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6D9AB20B717A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1607561620; bh=GoiOnMPpDWk6omqRz6/q6wArzSEEmfw+EQCrOd91bdw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b6oK0N4Dl2kf+Qask9u5BpY77Ikz3vb2eSQZNpy+MThwjhYocpDYAHLUBw2GtOxAy UKEVKEM/iJ5hb9Od0Q2fFS8jqt6/VVISXgeyc8cocxalhgZFXsy7ubtuWujgeN2lIf jOpEwcNLcS9VBmXUMeAIua2/DEaQlT0RY+LTNFe4= Date: Wed, 9 Dec 2020 16:53:40 -0800 From: Narcisa Ana Maria Vasile To: Pallavi Kadam Cc: dev@dpdk.org, thomas@monjalon.net, ranjit.menon@intel.com, dmitry.kozliuk@gmail.com, Narcisa.Vasile@microsoft.com, talshn@nvidia.com, ferruh.yigit@intel.com, beilei.xing@intel.com, jia.guo@intel.com Message-ID: <20201210005340.GA32754@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20201205011020.6276-1-pallavi.kadam@intel.com> <20201205011020.6276-4-pallavi.kadam@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201205011020.6276-4-pallavi.kadam@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [dpdk-dev] [PATCH 3/3] config/build: ignore enum forward reference warning 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Dec 04, 2020 at 05:10:20PM -0800, Pallavi Kadam wrote: > Warning generated using Clang compiler: > ..\drivers\net\i40e\base/i40e_osdep.h:34:14: warning: forward references > to 'enum' types are a Microsoft extension > [-Wmicrosoft-enum-forward-reference] > typedef enum i40e_status_code i40e_status; > ^ > > Adding -Wmicrosoft-enum-forward-reference compiler flag to disable > the warning on Windows Clang. > > Signed-off-by: Pallavi Kadam > Reviewed-by: Ranjit Menon > --- Why not including the "i40e_status.h" header that contains the definition of the enum in this file?