flintlib / arb

Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
http://arblib.org/
GNU Lesser General Public License v2.1
456 stars 137 forks source link

Fails to build with flint2-2.8.0: error: static declaration of 'fmpz_kronecker' follows non-static declaration #373

Closed yurivict closed 3 years ago

yurivict commented 3 years ago
/wrkdirs/usr/ports/math/arb/work/arb-2.19.0/acb_modular/epsilon_arg.c:15:1: error: static declaration of 'fmpz_kronecker' follows non-static declaration
fmpz_kronecker(const fmpz_t a, const fmpz_t b)
^
/usr/local/include/flint/fmpz.h:648:15: note: previous declaration is here
FLINT_DLL int fmpz_kronecker(const fmpz_t a, const fmpz_t n);
              ^
1 error generated.

OS: FreeBSD 13 clang-11

thofma commented 3 years ago

Duplicate of #372

fredrik-johansson commented 3 years ago

Fixed in 2.20.