Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: 2022年6月7日 18:53
> To: Wu, WenxuanX <[email protected]>
> Cc: Richardson, Bruce <[email protected]>; [email protected];
> [email protected]; [email protected]
> Subject: Re: [PATCH] build: fix meson build when gcc >= 10.0
> 
> 07/06/2022 04:56, [email protected]:
> > From: Wenxuan Wu <[email protected]>
> >
> > 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 += [
> > +      '-Wno-zero-length-bounds',
> > +      '-Wno-stringop-overflow',
> > +      '-Wno-array-bounds',
> > +      '-Wno-format-overflow',
> 
> The compilers are reported warnings to help us having a better code.
> We should try to resolve the warnings, not hiding them.
> 
Yeah,  I can not agree more.  Need to draw more attention to handle these 
warnings. 

Reply via email to