From A.G.Grozin at inp.nsk.su Tue Apr 29 14:27:40 2025 From: A.G.Grozin at inp.nsk.su (Andrey G. Grozin) Date: Tue, 29 Apr 2025 19:27:40 +0700 (+07) Subject: [GiNaC-devel] ginac-1.8.8/cln-1.3.7/gcc-15.1.0 test failures Message-ID: 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 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 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 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 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 ?{, , , }? from ?? to ?std::vector? 108 | }; | ^ | | | Any ideas? Andrey From V.Kisil at leeds.ac.uk Tue Apr 29 21:21:41 2025 From: V.Kisil at leeds.ac.uk (Vladimir V. Kisil) Date: Tue, 29 Apr 2025 19:21:41 +0000 Subject: [GiNaC-devel] ginac-1.8.8/cln-1.3.7/gcc-15.1.0 test failures In-Reply-To: References: Message-ID: <9245.1745954499@zbook> Hello, Andrey! It seems the new version of GCC introduces the class complex, which was not there before. Now the compiler is confused which one to use: the previously existing cln::complex or std::complex. The attached simple patch shall resolve that. Best wishes, Vladimir -- Vladimir V. Kisil http://v-v-kisil.scienceontheweb.net Book: Geometry of Mobius Maps https://doi.org/10.1142/p835 Soft: Geometry of cycles http://moebinv.sourceforge.net/ Jupyter notebooks: https://github.com/vvkisil?tab=repositories >>>>> On Tue, 29 Apr 2025 19:27:40 +0700 (+07), "Andrey G. Grozin via GiNaC-devel" said: AG> Hello *, AG> I've compiled cln-1.3.7 and ginac-1.8.8 by gcc-15.1.0 on Gentoo AG> linux (I'm the maintainer of the ginal package in this AG> distro). Everything's fine. But when I run ginac tests, I get AG> x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../config AG> -I./../ginac -I../ginac -DIN_GINAC -O2 -march=alderlake -mabm AG> -mno-cldemote -mno-kl -mno-pconfig -mno-sgx -mno-widekl -mshstk AG> --param=l1-cache-line-size=64 --param=l1-cache-size=32 AG> --param=l2-cache-size=24576 -pipe -c -o exam_archive.o AG> exam_archive.cpp exam_archive.cpp: In function ?unsigned int AG> numeric_complex_bug()?: exam_archive.cpp:104:17: error: AG> reference to ?complex? is ambiguous 104 | complex(one, one), | AG> ^~~~~~~ In file included from AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/tuple:40, AG> from AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/functional:55, AG> from ./../ginac/ptr.h:29, from ./../ginac/basic.h:27, from AG> ./../ginac/ginac.h:28, from exam_archive.cpp:23: AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11: AG> note: candidates are: ?template class std::complex? AG> 105 | class complex; | ^~~~~~~ In file included from AG> ./../ginac/numeric.h:30, from ./../ginac/ginac.h:40: AG> /usr/include/cln/complex.h:22:19: note: ?const cln::cl_N AG> cln::complex(const cl_R&, const cl_R&)? 22 | extern const cl_N AG> complex (const cl_R& a, const cl_R& b); | ^~~~~~~ AG> exam_archive.cpp:105:17: error: reference to ?complex? is AG> ambiguous 105 | complex(one, three_fp), | ^~~~~~~ AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11: AG> note: candidates are: ?template class std::complex? AG> 105 | class complex; | ^~~~~~~ /usr/include/cln/complex.h:22:19: AG> note: ?const cln::cl_N cln::complex(const cl_R&, const cl_R&)? AG> 22 | extern const cl_N complex (const cl_R& a, const cl_R& b); | AG> ^~~~~~~ exam_archive.cpp:106:17: error: reference to ?complex? AG> is ambiguous 106 | complex(three_fp, one), | ^~~~~~~ AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11: AG> note: candidates are: ?template class std::complex? AG> 105 | class complex; | ^~~~~~~ /usr/include/cln/complex.h:22:19: AG> note: ?const cln::cl_N cln::complex(const cl_R&, const cl_R&)? AG> 22 | extern const cl_N complex (const cl_R& a, const cl_R& b); | AG> ^~~~~~~ exam_archive.cpp:107:17: error: reference to ?complex? AG> is ambiguous 107 | complex(three_fp, three_fp) | ^~~~~~~ AG> /usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/stl_pair.h:105:11: AG> note: candidates are: ?template class std::complex? AG> 105 | class complex; | ^~~~~~~ /usr/include/cln/complex.h:22:19: AG> note: ?const cln::cl_N cln::complex(const cl_R&, const cl_R&)? AG> 22 | extern const cl_N complex (const cl_R& a, const cl_R& b); | AG> ^~~~~~~ exam_archive.cpp:108:9: error: could not convert AG> ?{, , , AG> }? from ?? to AG> ?std::vector? 108 | }; | ^ | | | initializer list> AG> Any ideas? AG> Andrey _______________________________________________ AG> GiNaC-devel mailing list GiNaC-devel at ginac.de AG> https://www.ginac.de/mailman/listinfo/ginac-devel -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Fix-ambiguity-in-calling-complex-constructor.patch Type: application/mbox Size: 956 bytes Desc: patch.patch URL: From git at ginac.de Wed Apr 30 00:20:39 2025 From: git at ginac.de (git service) Date: Wed, 30 Apr 2025 00:20:39 +0200 (CEST) Subject: [GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch master updated. release_1-4-0-788-g97b3c165 Message-ID: <20250429222039.4E580D8191B@cebix.net> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GiNaC -- a C++ library for symbolic computations". The branch, master has been updated via 97b3c165ba38a5c6dbed4091bd81962b2c4e124d (commit) from 528fe6ff1ec07b75edf4a320def79f72396ca7df (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 97b3c165ba38a5c6dbed4091bd81962b2c4e124d Author: Vladimir V. Kisil Date: Wed Apr 30 00:16:26 2025 +0200 [PATCH] Fix ambiguity in calling complex constructor (GCC 15). Reported by Andrey G. Grozin . ----------------------------------------------------------------------- Summary of changes: check/exam_archive.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) hooks/post-receive -- GiNaC -- a C++ library for symbolic computations From A.G.Grozin at inp.nsk.su Wed Apr 30 07:00:57 2025 From: A.G.Grozin at inp.nsk.su (Andrey G. Grozin) Date: Wed, 30 Apr 2025 12:00:57 +0700 (+07) Subject: [GiNaC-devel] ginac-1.8.8/cln-1.3.7/gcc-15.1.0 test failures In-Reply-To: <9245.1745954499@zbook> References: <9245.1745954499@zbook> Message-ID: On Tue, 29 Apr 2025, Vladimir V. Kisil wrote: > It seems the new version of GCC introduces the class complex, which > was not there before. Now the compiler is confused which one to use: > the previously existing cln::complex or std::complex. The attached > simple patch shall resolve that. Yes, this is what I thought. Thank you very much for the quick fix. Committed to Gentoo. Andrey From website.reader3 at gmail.com Tue Apr 29 22:27:22 2025 From: website.reader3 at gmail.com (American Citizen) Date: Tue, 29 Apr 2025 13:27:22 -0700 Subject: [GiNaC-devel] request to fix download page Message-ID: Could someone please fix the broken links for the https page for ginac.git download? The link https://www.ginac.de/ginac.git/ on the Download page https://www.ginac.de/Download.html and the main page https://www.ginac.de/ is broken and result in a 404 Not Found error from either webpage. > > Not Found > > The requested URL was not found on this server. > > ------------------------------------------------------------------------ > Apache Server at www.ginac.de Port 443 > Thank you for your prompt attention to this matter, timestamp 1:27:02 PM PDT, Tuesday 29-April-2025 -------------- next part -------------- An HTML attachment was scrubbed... URL: From cb at cebix.net Wed Apr 30 08:45:07 2025 From: cb at cebix.net (Christian Bauer) Date: Wed, 30 Apr 2025 08:45:07 +0200 Subject: [GiNaC-devel] request to fix download page In-Reply-To: References: Message-ID: <817f309f-7a36-480b-a72c-f16d254769c3@cebix.net> Hi! On 29.04.25 22:27, American Citizen wrote: > The link https://www.ginac.de/ginac.git/ on the Download page https:// > www.ginac.de/Download.html and the main page https://www.ginac.de/ > > is broken and result in a 404 Not Found error from either webpage. I've disabled the GitWeb interface for the time being, because it was the target of a DDoS attack. It will be restored at a later date. Bye, Christian -- / Physics is an algorithm \/ www.cebix.net