[Clamav-devel] 0.101.5 (and .4), make check and gcc 9
Sergey
a_s_y at sama.ru
Tue Nov 26 08:52:09 EST 2019
On Tuesday 26 November 2019, Micah Snyder (micasnyd) wrote:
> Hi Sergey,
>
> Thanks for investigating. I believe that test_cl_dup() and a few others
> in there are completely empty. I looked at them a few days ago and
> thought to myself, "Is this even allowed?". Perhaps maybe it isn't
> (anymore). I imagine if all references to test_cl_dup and the other
> empty tests are removed, it may work.
It helps. I removed
START_TEST(test_cl_retdbdir)
fail_unless(!strcmp(DATADIR, cl_retdbdir()), "cl_retdbdir");
END_TEST
also. It cause the error
In file included from check_clamav.c:11:
check_clamav.c:51:13: error: expected declaration specifiers or '...' before '!' token
51 | fail_unless(!strcmp(DATADIR, cl_retdbdir()), "cl_retdbdir");
| ^
--
Regards, Sergey
More information about the clamav-devel
mailing list