From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 4F18A2BF3 for ; Tue, 5 Sep 2017 16:36:35 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 05 Sep 2017 07:36:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,480,1498546800"; d="scan'208";a="1169286220" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.24]) by orsmga001.jf.intel.com with SMTP; 05 Sep 2017 07:36:32 -0700 Received: by (sSMTP sendmail emulation); Tue, 05 Sep 2017 15:36:32 +0100 Date: Tue, 5 Sep 2017 15:36:31 +0100 From: Bruce Richardson To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20170905143631.GB21636@bricha3-MOBL3.ger.corp.intel.com> References: <1504616613-46803-1-git-send-email-harry.van.haaren@intel.com> <1504618078-76742-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1504618078-76742-1-git-send-email-harry.van.haaren@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.8.3 (2017-05-23) Subject: Re: [dpdk-dev] [PATCH v2] buildtools: zero elf info variable in pmdinfogen 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: Tue, 05 Sep 2017 14:36:36 -0000 On Tue, Sep 05, 2017 at 02:27:58PM +0100, Harry van Haaren wrote: > This commit zeros out the elf_info struct at startup of the > pmdinfogen code. If it is not zeroed, later in the code gcc > produces "may be unused" prints. Clang does not report any > issue. > > This issue is only observed when compiling pmdinfogen as an > optimized build, hence this warning is not disabled in the > existing Makefile. > > This commit enables a simplification in the meson build > system, removing the requirement for "-Wno-maybe-uninitialized". > > Signed-off-by: Harry van Haaren > Acked-by: Bruce Richardson