Re: [dpdk-dev] [PATCH v2] buildtools: zero elf info variable in pmdinfogen

2017-09-14 Thread Thomas Monjalon
05/09/2017 16:36, Bruce Richardson: > 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 > >

Re: [dpdk-dev] [PATCH v2] buildtools: zero elf info variable in pmdinfogen

2017-09-05 Thread Bruce Richardson
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 c

[dpdk-dev] [PATCH v2] buildtools: zero elf info variable in pmdinfogen

2017-09-05 Thread Harry van Haaren
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