On Fri, Jul 13, 2018 at 9:26 PM, Niels Möller <[email protected]> wrote:
> [email protected] (Niels Möller) writes:
>
>> Nikos Mavrogiannopoulos <[email protected]> writes:
>>
>>> An assert() should be sufficient to inform it of the constraints.
>>
>> I've added two asserts for the eratosthenes.c warning, we'lll see if
>> that helps (only vector_alloc wasn't enough).
>
> Another analysis run has completed, and it still complains. See
> https://gnutls.gitlab.io/-/nettle/-/jobs/81674466/artifacts/scan-build-lib/2018-07-13-184526-1877-1/report-535c8d.html
>
> Any other suggestions?

Given that it is only an example maybe use #ifndef __clang_analyzer__
in the whole file?

regards,
Nikos
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to