I got an error during the make step of the compilation.
My box is running Fedora Core 36 (x86_64).
The configuration step was done with:
$>./configure --with-flint=/usr --with-gmp=/usr --with-mpfr=/usr --build=x86_64 CFLAGS='-O2 -funroll-
loops -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -mtune=generic'
Then, with
$>make
I got the following warning/error messages:
atan_arf_bb.c: In function ‘arb_atan_arf_bb’:
atan_arf_bb.c:437:13: warning: implicit declaration of function ‘flint_parallel_do’ [-Wimplicit-function-declaration]
437 | flint_parallel_do((do_func_t) worker, &work, num, -1, FLINT_PARALLEL_STRIDED);
| ^~~~~~~~~~~~~~~~~
atan_arf_bb.c:437:32: error: ‘do_func_t’ undeclared (first use in this function)
437 | flint_parallel_do((do_func_t) worker, &work, num, -1, FLINT_PARALLEL_STRIDED);
| ^~~~~~~~~
atan_arf_bb.c:437:32: note: each undeclared identifier is reported only once for each function it appears in
atan_arf_bb.c:437:42: error: expected ‘)’ before ‘worker’
437 | flint_parallel_do((do_func_t) worker, &work, num, -1, FLINT_PARALLEL_STRIDED);
| ~ ^~~~~~~
| )
atan_arf_bb.c:430:20: warning: variable ‘work’ set but not used [-Wunused-but-set-variable]
430 | work_t work;
| ^~~~
atan_arf_bb.c: At top level:
atan_arf_bb.c:162:1: warning: ‘worker’ defined but not used [-Wunused-function]
162 | worker(slong iter, work_t * work)
| ^~~~~~