[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Building nightly builds with GCC 4.7.4



On Thu, 3 Mar 2016 13:30:14 , Alan Hourihane <alanh@fairlite.co.uk> wrote:
> Hi all,
>
> I'm upgrading the build machine to GCC 4.7.4, from 4.5.4, and the trunk
> is throwing a few errors. I've checked this with 4.5.4 and it still
> builds there too.
>
> I've attached a patch that fixes them, but I'd like people to review
> before I submit.
>
> Also, there's a problem in XAAES that results in this.
>
> ../xa_fnts.c: In function 'fnts_extb_callout':
> ../xa_fnts.c:240:7: error: assuming signed overflow does not occur when
> assuming that (X + c) < X is always false [-Werror=strict-overflow]
> cc1: all warnings being treated as errors
>
> Helmut - can you take a look ?
>
> Thanks,
>
> Alan.
>

Netsurf subject their code to Coverity. Has anyone looked into using it
for Mint and XaAES ?

http://www.coverity.com/

I know such tools are not a panacea but even picking up a few trivial
things can only help the code base.

Regards,

Peter