RE: [PATCH] build: fix meson build when gcc >= 10.0

2022-06-07 Thread Wu, WenxuanX
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: 2022年6月7日 18:53 > To: Wu, WenxuanX > Cc: Richardson, Bruce ; dev@dpdk.org; > sta...@dpdk.org; david.march...@redhat.com > Subject: Re: [PATCH] build: fix meson build when gcc >= 10.0 > &

Re: [PATCH] build: fix meson build when gcc >= 10.0

2022-06-07 Thread Stephen Hemminger
On Tue, 7 Jun 2022 17:13:07 +0200 David Marchand wrote: > On Tue, Jun 7, 2022 at 5:10 PM Stephen Hemminger > wrote: > > On Tue, 07 Jun 2022 12:52:32 +0200 > > Thomas Monjalon wrote: > > > 07/06/2022 04:56, wenxuanx...@intel.com: > > > > From: Wenxuan Wu > > > > > > > > GCC version greater

Re: [PATCH] build: fix meson build when gcc >= 10.0

2022-06-07 Thread David Marchand
On Tue, Jun 7, 2022 at 5:10 PM Stephen Hemminger wrote: > On Tue, 07 Jun 2022 12:52:32 +0200 > Thomas Monjalon wrote: > > 07/06/2022 04:56, wenxuanx...@intel.com: > > > From: Wenxuan Wu > > > > > > GCC version greater than 10.0, with compile option -O2, several warnings > > > info would appear,

Re: [PATCH] build: fix meson build when gcc >= 10.0

2022-06-07 Thread Stephen Hemminger
On Tue, 07 Jun 2022 12:52:32 +0200 Thomas Monjalon wrote: > 07/06/2022 04:56, wenxuanx...@intel.com: > > From: Wenxuan Wu > > > > GCC version greater than 10.0, with compile option -O2, several warnings > > info would appear, > > this fix omitted these warnings. > [...] > > # FIXME: Bugzill

Re: [PATCH] build: fix meson build when gcc >= 10.0

2022-06-07 Thread Thomas Monjalon
07/06/2022 04:56, wenxuanx...@intel.com: > From: Wenxuan Wu > > GCC version greater than 10.0, with compile option -O2, several warnings info > would appear, > this fix omitted these warnings. [...] > # FIXME: Bugzilla 396 > -warning_flags += '-Wno-zero-length-bounds' > +warning_flags +