Hi,
Working on
https://trac.sagemath.org/ticket/32959
I hit a compilation error due to
sage/local/include/factory/factory.h: #define IntegerDomain 1
which conflicts with
sage/local/include/givaro/givinteger.h: using IntegerDomain = ZRing<Integer>
See the compilation log ;
[sagelib-9.5.beta7] In file included from /home/soft/sage/local/include/singular/coeffs/coeffs.h:19,
[sagelib-9.5.beta7] from
/home/soft/sage/local/include/singular/polys/monomials/ring.h:12,
[sagelib-9.5.beta7] from /home/soft/sage/local/include/singular/kernel/polys.h:15,
[sagelib-9.5.beta7] from /home/soft/sage/local/include/singular/kernel/structs.h:25,
[sagelib-9.5.beta7] from
/home/soft/sage/local/include/singular/Singular/libsingular.h:7,
[sagelib-9.5.beta7] from
build/cythonized/sage/rings/polynomial/multi_polynomial_libsingular.cpp:724:
[sagelib-9.5.beta7] /home/soft/sage/local/include/givaro/givinteger.h: At global scope:
[sagelib-9.5.beta7] /home/soft/sage/local/include/factory/factory.h:92:23: error: expected
nested-name-specifier before numeric constant
[sagelib-9.5.beta7] 92 | #define IntegerDomain 1
[sagelib-9.5.beta7] | ^
[sagelib-9.5.beta7] /home/soft/sage/local/include/givaro/givinteger.h:412:11: note: in expansion of
macro ‘IntegerDomain’
[sagelib-9.5.beta7] 412 | using IntegerDomain = ZRing<Integer>;
[sagelib-9.5.beta7] | ^~~~~~~~~~~~~
I have no clue what is this Factory, and why it defines IntegerDomain to 1.
Any insight would be most welcome.
Cheers.
Clément