[GiNaC-devel] ginac-1.8.8/cln-1.3.7/gcc-15.1.0 test failures
Andrey G. Grozin
A.G.Grozin at inp.nsk.su
Tue Apr 29 14:27:40 CEST 2025
Hello *,
I've compiled cln-1.3.7 and ginac-1.8.8 by gcc-15.1.0 on Gentoo linux (I'm
the maintainer of the ginal package in this distro). Everything's fine.
But when I run ginac tests, I get
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config -I./../ginac
-I../ginac -DIN_GINAC -O2 -march=alderlake -mabm -mno-cldemote -mno-kl
-mno-pconfig -mno-sgx -mno-widekl -mshstk --param=l1-cache-line-size=64
--param=l1-cache-size=32 --param=l2-cache-size=24576 -pipe -c -o
exam_archive.o exam_archive.cpp
exam_archive.cpp: In function ‘unsigned int numeric_complex_bug()’:
exam_archive.cpp:104:17: error: reference to ‘complex’ is ambiguous
104 | complex(one, one),
| ^~~~~~~
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/tuple:40,
from
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/functional:55,
from ./../ginac/ptr.h:29,
from ./../ginac/basic.h:27,
from ./../ginac/ginac.h:28,
from exam_archive.cpp:23:
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11:
note: candidates are: ‘template<class _Tp> class std::complex’
105 | class complex;
| ^~~~~~~
In file included from ./../ginac/numeric.h:30,
from ./../ginac/ginac.h:40:
/usr/include/cln/complex.h:22:19: note: ‘const cln::cl_N
cln::complex(const cl_R&, const cl_R&)’
22 | extern const cl_N complex (const cl_R& a, const cl_R& b);
| ^~~~~~~
exam_archive.cpp:105:17: error: reference to ‘complex’ is ambiguous
105 | complex(one, three_fp),
| ^~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11:
note: candidates are: ‘template<class _Tp> class std::complex’
105 | class complex;
| ^~~~~~~
/usr/include/cln/complex.h:22:19: note: ‘const cln::cl_N
cln::complex(const cl_R&, const cl_R&)’
22 | extern const cl_N complex (const cl_R& a, const cl_R& b);
| ^~~~~~~
exam_archive.cpp:106:17: error: reference to ‘complex’ is ambiguous
106 | complex(three_fp, one),
| ^~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11:
note: candidates are: ‘template<class _Tp> class std::complex’
105 | class complex;
| ^~~~~~~
/usr/include/cln/complex.h:22:19: note: ‘const cln::cl_N
cln::complex(const cl_R&, const cl_R&)’
22 | extern const cl_N complex (const cl_R& a, const cl_R& b);
| ^~~~~~~
exam_archive.cpp:107:17: error: reference to ‘complex’ is ambiguous
107 | complex(three_fp, three_fp)
| ^~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11:
note: candidates are: ‘template<class _Tp> class std::complex’
105 | class complex;
| ^~~~~~~
/usr/include/cln/complex.h:22:19: note: ‘const cln::cl_N
cln::complex(const cl_R&, const cl_R&)’
22 | extern const cl_N complex (const cl_R& a, const cl_R& b);
| ^~~~~~~
exam_archive.cpp:108:9: error: could not convert ‘{<expression error>,
<expression error>, <expression error>, <expression error>}’ from
‘<brace-enclosed initializer list>’ to ‘std::vector<cln::cl_N>’
108 | };
| ^
| |
| <brace-enclosed initializer list>
Any ideas?
Andrey
More information about the GiNaC-devel
mailing list