[PATCHSET] Fix and add -Werror=strict-overflow -Wstrict-overflow=2
Andreas Schneider
asn at samba.org
Wed Jan 3 07:40:31 UTC 2018
On Tuesday, 12 December 2017 08:34:19 CET Andreas Schneider via samba-
technical wrote:
> On Thursday, 7 December 2017 20:37:15 CET Andreas Schneider via samba-
>
> technical wrote:
> > Hello,
> >
> > I've worked on a patchset to turn on:
> > -Werror=strict-overflow -Wstrict-overflow=2
> >
> > The attached patchset fixes all the issues found with the compiler warning
> > turned on. The first part is pretty obvious int -> size_t but then there
> > are were some harder nuts to crack. I hope I got all right but a careful
> > review would be great!
> >
> > I'm also fine opening a bug and backport them if someones thinks it is
> > worth to have it in 4.7.
>
> Volker only pushed one patch from the patchset, attached is a rebased new
> patchset.
>
Happy new year ping!
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list