Re: 0.101.5 (and .4), make check and gcc 9

Sergey <[email protected]> Tue, 26 Nov 2019 17:03:19 +0400
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <[email protected]>
On Monday 25 November 2019, Sergey wrote:

> "make check" fails with multiple errors when I use gcc 9. Is ClamAV
> adapted to build by gcc 9?
> 
> For example:
> 
> In file included from check_clamav.c:11:
> check_clamav.c: In function 'test_cl_free_fn':
> check_clamav.c:43:12: error: storage class specified for parameter 'test_cl_dup_fn'
>    43 | START_TEST(test_cl_dup)
>       |            ^~~~~~~~~~~
 
This is not a problem with gcc9. This is caused by replacing libcheck
from 0.12.0 to 0.13.0.

-- 
Regards, Sergey
_______________________________________________

clamav-devel mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-devel

Please submit your patches to our Github: https://github.com/Cisco-Talos/clamav-devel/pulls

Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml