[PATCH] Adjust binutils to quiesce -Wstring-plus-int

Steve Kargl sgk at troutmask.apl.washington.edu
Thu Oct 31 04:04:06 UTC 2013


On Wed, Oct 30, 2013 at 11:40:40PM -0400, Eitan Adler wrote:
> On Wed, Oct 30, 2013 at 8:49 PM, Sean Bruno <sean_bruno at yahoo.com> wrote:
> > Spent some time doing string maths today.
> >
> > More or less, change the "static char intel_syntax" to an int and use it
> > as an array index instead of doing pointer math.
> >
> > Sean
> >
> > http://people.freebsd.org/~sbruno/binutils_opcodes.txt
> 
> While the patch seems reasonable, I once again am confused about why
> we are fixing these warnings and not just disabling them for
> contributed code.

+1

-- 
Steve


More information about the freebsd-current mailing list