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
455 stars 137 forks source link

build issue with flint 2.6.0 #310

Closed chacha21 closed 4 years ago

chacha21 commented 4 years ago

When trying to build arb 2.17.0 with flint 2.6.0, there is a conflict in fmpz_extras.h : redefinition of 'fmpz_add_si' and redefinition of 'fmpz_sub_si'

Those functions are part of flint-2.6.0/fmpz.h, and were not present in previous flint versions.

Deleting those functions in fmpz_extras.h seems to work, but adding a special case for __FLINT_RELEASE >= 20600 will certainly be the good fix

fredrik-johansson commented 4 years ago

Thanks for reporting. This is already fixed in the git master, and there will be a new release shortly.