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 E3EC7A04FA; Thu, 6 Feb 2020 03:13:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B59131C28F; Thu, 6 Feb 2020 03:13:24 +0100 (CET) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id BB6851C223 for ; Thu, 6 Feb 2020 03:13:22 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4B75E21F82; Wed, 5 Feb 2020 21:13:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 05 Feb 2020 21:13:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=FmRXRevrhNwRpJRPI5tCBUtsUeX0RnqnME0MI9fbmYs=; b=Lvm2ffl7lbxE MTprthdgiLXTN3sO/TPJHhHwlFlPxHav2+pT73QcU8nlIR9yb6GgQW447fb7yOFy Ch/fELwKqSdJz5BI1KYUCLFz/UKsDBc7nQIUk0bzRrIqlflqZjZS/Ufm6MSAUhbQ CviB5QjAhFjxCIbVmm4o6HoxpbUvaog= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=FmRXRevrhNwRpJRPI5tCBUtsUeX0RnqnME0MI9fbm Ys=; b=2Gqq37eLzB8T2lXTEaDGrkdFpj02uIu4lo05NMzDq3dwiOqOpk1Jz8J59 hnAPN9S9x/Xd99LtQ818MY7p/I1BDcQLxacMd8oUHK2SCbZPaMCnGiaWmaJgEnZb u3qWJJ+vI/7E08ksX3pWEfS0IY06/ie421El8oulCAl1WDAmSPIYzo7c7AYtYjOk bdQMhRDYFq51aBF9SACWHPpDOB/JXuAawNakUxc4+frtLxT/b/5au4UKnrBJ1pi/ pgNp4yUUMrv3CGKx4+vXjplVKJJbTjn4HWYpcUFL27IPag1PcSIDSM5/J2wDG3kF Q+AgR5tNmYxCLc/XNGeVPbXjP0vcQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedvgdeggecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 113D930605C8; Wed, 5 Feb 2020 21:13:20 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: bruce.richardson@intel.com, Liang Ma , Peter Mccarthy , Harry van Haaren , Qi Zhang , Xiao Wang , Beilei Xing , Alfredo Cardigliano , Ferruh Yigit Date: Thu, 06 Feb 2020 03:13:19 +0100 Message-ID: <2178584.BjyWNHgNrj@xps> In-Reply-To: <6b022ebe-0c6e-df76-bb83-90f5774be721@intel.com> References: <20200121143531.2677911-1-thomas@monjalon.net> <6b022ebe-0c6e-df76-bb83-90f5774be721@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mk: ignore missing field initializers 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" 21/01/2020 16:55, Ferruh Yigit: > On 1/21/2020 2:35 PM, Thomas Monjalon wrote: > > Three warnings are commonly disabled in DPDK with make and meson: > > * address-of-packed-member > > always disabled > > * missing-field-initializers > > disabled with meson > > disabled with make + clang or make + gcc < 4.7 > > disabled with make + gcc <= 5 for test files and event drivers > > * packed-not-aligned > > disabled with meson > > > > This change is removing exceptions for missing-field-initializers. > > As it is always disabled, some redundant configs are cleaned up. > > > > Now the situation is: > > * address-of-packed-member > > always disabled > > * missing-field-initializers > > always disabled > > * packed-not-aligned > > disabled with meson > > > > It could alternatively be decided to disable missing-field-initializers > > only for old gcc (< 6). > > I am not sure if we ever want 'missing-field-initializers' warnings, so +1 to > drop it without version check as it is done in this patch. > > > > > The warning packed-not-aligned is not modified in this change. > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Ferruh Yigit Applied