There are conflicting types in the declaration of fmpz_poly_randtest_irreducible. In Flint's src/fmpz_poly.h one has
oid fmpz_poly_randtest_irreducible(fmpz_poly_t pol, flint_rand_t state, slong len, flint_bitcnt_t bits)
whereas libeantic/e-antic/fmpz_poly_extra.h has (the old)
void fmpz_poly_randtest_irreducible(fmpz_poly_t p, flint_rand_t state, slong len, mp_bitcnt_t bits)
As far as I can see, flint_bitcnt_t expands to long long unsigned, whereas mp_bitcnt_t expands to long unsigned int. This plays no role on Linux or MacOS 64 bit systems, but raises a conflict on MS Windows based systems.