Skip to content

Icompatibility of Flint 3.3.1 amd e-antic 2.1.0 in MSYS/MinGW64 #292

@w-bruns

Description

@w-bruns

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions