lkml.org 
[lkml]   [2018]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: disabling -Wstringop-truncation
Hi Andi,

On Thu, 30 Aug 2018 15:32:06 -0700 Andi Kleen <ak@linux.intel.com> wrote:
>
> Stephen Rothwell <sfr@canb.auug.org.au> writes:
>
> > I am now mainly using gcc v8.2 for my builds and -Wstringop-truncation
> > causes so many warnings that I am sure to miss others, so I have
> > applied the below to my fixes tree until the noise reduces.
>
> I have the same problem.
>
> However It's not clear if they're all false positives (I suspect not)

Right.

> It would be better to move the warning to W=2 or so, and also needs
> someone actually looking at them.

Sure, my patch was just a quick fix for linux-next to make it more
manageable. Also, I am not worse off than when I was using older
compilers.

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-08-31 00:47    [W:0.053 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site