flatsurf / e-antic

Embedded algebraic number fields
https://flatsurf.github.io/e-antic/libeantic/
GNU Lesser General Public License v3.0
12 stars 11 forks source link

cygwin e-antic 0.1.9: backported fmpq_vec functions conflict with declarations from FLINT #181

Closed mkoeppe closed 3 years ago

mkoeppe commented 3 years ago
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -fopenmp -O2 -g -march=native -c poly_extra/fmpq_vec_sort.c  -DDLL_EXPORT -DPIC -o poly_extra/.libs/fmpq_vec_sort.o
poly_extra/fmpq_vec_randtest_uniq_sorted.c:16:6: error: conflicting types for '_fmpq_vec_randtest_uniq_sorted'
   16 | void _fmpq_vec_randtest_uniq_sorted(fmpq * vec, flint_rand_t state, slong len, mp_bitcnt_t bits)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from poly_extra/fmpq_vec_randtest_uniq_sorted.c:13:
/usr/include/flint/fmpq_vec.h:39:16: note: previous declaration of '_fmpq_vec_randtest_uniq_sorted' was here
   39 | FLINT_DLL void _fmpq_vec_randtest_uniq_sorted(fmpq * vec,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

https://github.com/Normaliz/Normaliz/runs/2064292413?check_suite_focus=true

saraedum commented 3 years ago

@videlec I don't think we want to maintain e-antic versions prior to 1.0.0.

Do you agree?