#15574: Update FLINT to 2.4
-------------------------------------+-------------------------------------
Reporter: jpflori | Owner:
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.1
Component: packages: | Resolution:
standard | Merged in:
Keywords: flint spkg | Reviewers:
Authors: | Work issues:
Report Upstream: N/A | Commit:
Branch: | 435189348d51b9541976f6f62792a8aec9210a36
u/jpflori/ticket/15574 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
It's very bizarre in that it doesn't compile:
{{{
mkdir -p build/interfaces/test
if [ "1" -eq "1" ]; then \
make build/interfaces/test/t-NTL-interface; \
build/interfaces/test/t-NTL-interface; \
fi
make[1]: Entering directory `/scratch/portage/sci-
mathematics/flint-2.4/work/flint-2.4'
x86_64-pc-linux-gnu-g++ -O1 -march=native -pipe -ggdb
-DFLINT_CPIMPORT=\"/usr/share/flint/CPimport.txt\" -I/scratch/portage/sci-
mathematics/flint-2.4/work/flint-2.4 -I/usr/include -I/usr/include
-I/usr/include interfaces/test/t-NTL-interface.cpp build/interfaces/NTL-
interface.lo -o build/interfaces/test/t-NTL-interface -L/scratch/portage
/sci-mathematics/flint-2.4/work/flint-2.4 -L/usr/lib -L/usr/lib -L/usr/lib
-lflint -lpthread -lmpfr -lgmp -lm -lntl ;
interfaces/test/t-NTL-interface.cpp: In function 'int test_ZZ_pE_to_fq()':
interfaces/test/t-NTL-interface.cpp:276:49: error: cannot convert 'fmpz*
{aka long int*}' to 'fmpz_mod_poly_struct*' for argument '2' to 'void
fq_ctx_init_modulus(fq_ctx_struct*, fmpz_mod_poly_struct*, const char*)'
interfaces/test/t-NTL-interface.cpp: In function 'int
test_ZZ_pEX_to_fq_poly()':
interfaces/test/t-NTL-interface.cpp:348:49: error: cannot convert 'fmpz*
{aka long int*}' to 'fmpz_mod_poly_struct*' for argument '2' to 'void
fq_ctx_init_modulus(fq_ctx_struct*, fmpz_mod_poly_struct*, const char*)'
interfaces/test/t-NTL-interface.cpp: In function 'int test_zz_pE_to_fq()':
interfaces/test/t-NTL-interface.cpp:420:49: error: cannot convert 'fmpz*
{aka long int*}' to 'fmpz_mod_poly_struct*' for argument '2' to 'void
fq_ctx_init_modulus(fq_ctx_struct*, fmpz_mod_poly_struct*, const char*)'
interfaces/test/t-NTL-interface.cpp: In function 'int
test_zz_pEX_to_fq_poly()':
interfaces/test/t-NTL-interface.cpp:490:49: error: cannot convert 'fmpz*
{aka long int*}' to 'fmpz_mod_poly_struct*' for argument '2' to 'void
fq_ctx_init_modulus(fq_ctx_struct*, fmpz_mod_poly_struct*, const char*)'
make[1]: *** [build/interfaces/test/t-NTL-interface] Error 1
}}}
flint 2.3 doesn't have this problem at all.
--
Ticket URL: <http://trac.sagemath.org/ticket/15574#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.