Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 929084 Details for
Bug 956301
sci-mathematics/lcalc-2.1.0-r1 - Lmisc.h: error: conversion from int to non-scalar type Complex {aka std::complex<qd_real>} requested
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sci-mathematics:lcalc-2.1.0-r1:20250518-210321.log
sci-mathematics:lcalc-2.1.0-r1:20250518-210321.log (text/plain), 85.12 KB, created by
Toralf Förster
on 2025-05-19 07:02:15 UTC
(
hide
)
Description:
sci-mathematics:lcalc-2.1.0-r1:20250518-210321.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2025-05-19 07:02:15 UTC
Size:
85.12 KB
patch
obsolete
> * Package: sci-mathematics/lcalc-2.1.0-r1:0/2 > * Repository: gentoo > * Maintainer: mjo@gentoo.org frp.bissey@gmail.com,proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pari quad-double > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking lcalc-2.1.0.tar.xz to /var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work >>>> Source unpacked in /var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work >>>> Preparing source in /var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0 ... > * Running elibtoolize in: lcalc-2.1.0/ > * Running elibtoolize in: lcalc-2.1.0/build-aux/ > * Applying portage/1.2.0 patch ... > * Applying sed/1.5.6 patch ... > * Applying as-needed/2.5.0 patch ... > * Applying verbose-pic/2.4.7 patch ... > * Applying clang-runtime-ltmain/2.4.7 patch ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0 ... > * econf: updating lcalc-2.1.0/build-aux/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating lcalc-2.1.0/build-aux/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/lcalc-2.1.0-r1 --htmldir=/usr/share/doc/lcalc-2.1.0-r1/html --with-sysroot=/ --libdir=/usr/lib64 --with-pari --enable-precision=quad-double >checking for a BSD-compatible install... /usr/lib/portage/python3.13/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking xargs -n works... yes >checking whether UID '250' is supported by ustar format... yes >checking whether GID '250' is supported by ustar format... yes >checking how to create a ustar tar archive... gnutar >checking whether to enable maintainer-specific portions of Makefiles... yes >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C++... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for x86_64-pc-linux-gnu-g++ option to enable C++11 features... none needed >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for getopt.h... yes >checking for limits.h... yes >checking for math.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for gengetopt... /usr/bin/gengetopt >checking for mkstemp... yes >checking for size_t... yes >checking for pari/pari.h... yes >checking for ellglobalred in -lpari... yes >checking for qd/qd_real.h... yes >checking for sqrt in -lqd... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking how to print strings... printf >checking for a sed that does not truncate output... /usr/bin/sed >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for fgrep... /usr/bin/grep -F >checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B >checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm >checking whether ln -s works... yes >checking the maximum length of command line arguments... 1572864 >checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop >checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop >checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r >checking for file... file >checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump >checking how to recognize dependent libraries... pass_all >checking for x86_64-pc-linux-gnu-dlltool... x86_64-pc-linux-gnu-dlltool >checking how to associate runtime and link libraries... printf %s\n >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar >checking for archiver @FILE support... @ >checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip >checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok >checking for sysroot... / >checking for a working dd... /usr/bin/dd >checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 >checking for x86_64-pc-linux-gnu-mt... no >checking for mt... mt >checking if mt is a manifest tool... no >checking for dlfcn.h... yes >checking for objdir... .libs >checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no >checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-gcc static flag -static works... no >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking whether -lc should be explicitly linked in... no >checking dynamic linker characteristics... GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking whether stripping libraries is possible... yes >checking if libtool supports shared libraries... yes >checking whether to build shared libraries... yes >checking whether to build static libraries... no >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC >checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes >checking if x86_64-pc-linux-gnu-g++ static flag -static works... no >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes >checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes >checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes >checking dynamic linker characteristics... (cached) GNU/Linux ld.so >checking how to hardcode library paths into programs... immediate >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating lcalc.pc >config.status: creating Makefile >config.status: creating doc/Makefile >config.status: creating doc/examples/Makefile >config.status: creating doc/examples/data/Makefile >config.status: creating doc/man1/lcalc.1 >config.status: creating src/libLfunction/Makefile >config.status: creating src/lcalc/Lcommandline.ggo >config.status: creating src/lcalc/Makefile >config.status: creating tests/Makefile >config.status: creating tests/lib/Makefile >config.status: creating src/config.h >config.status: executing depfiles commands >config.status: executing libtool commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0 ... >make -O -j4 >Making all in doc >Making all in examples >Making all in data >make[3]: Nothing to be done for 'all'. >make[3]: Nothing to be done for 'all-am'. >make[2]: Nothing to be done for 'all-am'. >Making all in src/libLfunction >make[1]: Entering directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o Lgamma.lo Lgamma.cc >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c Lgamma.cc -fPIC -DPIC -o .libs/Lgamma.o >In file included from Lglobals.h:69, > from Lgamma.h:28, > from Lgamma.cc:24: >Lmisc.h: In function 'Double lcalc_cos(Double)': >Lmisc.h:81:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 81 | int n=Int(t*cos_taylor_arraysize); > | ^~~~~~~~~~~~~~~~~~~~ >Lcommon.h:51:38: note: in definition of macro 'Int' > 51 | #define Int(x) (int)(lcalc_to_double(x)) > | ^ >In file included from /usr/include/qd/qd_real.h:290, > from Lglobals.h:43: >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >In file included from Lgamma.h:29: >Lmisc.h: In function 'void lcalc_cis(Double&, Double&, Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:108:7: note: in expansion of macro 'lcalc_sin' > 108 | s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_expIt(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:119:30: note: in expansion of macro 'lcalc_sin' > 119 | Double c=lcalc_cos(t), s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_exp(Complex)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:129:34: note: in expansion of macro 'lcalc_sin' > 129 | Double c=r*lcalc_cos(t), s=r*lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex sinc(Complex)': >Lmisc.h:150:17: error: conversion from 'int' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 150 | Complex ans=1; > | ^ >Lmisc.h: In function 'Double sinc(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:167:30: note: in expansion of macro 'lcalc_sin' > 167 | if(abs(u) > sin_tol) ans=lcalc_sin(u)/u; > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lgamma.cc: In function 'Complex Q(Complex, Complex)': >Lgamma.cc:36:13: error: conversion from 'double' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 36 | Complex b=1.,sum=.5,eta,c[501],X,r=0.,R,v; > | ^~ >Lgamma.cc:36:20: error: conversion from 'double' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 36 | Complex b=1.,sum=.5,eta,c[501],X,r=0.,R,v; > | ^~ >Lgamma.cc:36:38: error: conversion from 'double' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 36 | Complex b=1.,sum=.5,eta,c[501],X,r=0.,R,v; > | ^~ >Lgamma.cc:55:15: error: conversion from 'double' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 55 | Complex tmp=1.; > | ^~ >Lgamma.cc:57:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 57 | while(abs(((n+2)*temme_a[n+2]*tmp)/c[0]) >= tolerance) > | ^ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lgamma.cc:61:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 61 | c[0]+=(n+2)*temme_a[n+2]*tmp; > | ^ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lgamma.cc:74:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 74 | X= n==0? -temme_g[k]/3:(Double)0; Double df=1; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lgamma.cc:77:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 77 | X+=temme_g[k-i]*df*(n+2*i+2)*temme_a[n+2*i+2]; > | ^ >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >Lgamma.cc:90:16: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 90 | R=1.0/sqrt(2*Pi*z) * exp(-.5*z*eta*eta) * r; > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lgamma.h: In instantiation of 'ttype cfrac_GAMMA(ttype, ttype) [with ttype = std::complex<qd_real>]': >Lgamma.cc:151:42: required from here > 151 | if(my_norm(z) > .5) return (cfrac_GAMMA(.5+0*I,z*z)*z/sqrt(Pi)); > | ~~~~~~~~~~~^~~~~~~~~~~~ >Lgamma.h:392:36: error: conversion from 'double' to non-scalar type 'std::complex<qd_real>' requested > 392 | ttype P1=Double(1),P2=w,Q1=0.,Q2=Double(1), c1=-z; > | ^~ >Lgamma.h: In instantiation of 'Complex GAMMA(ttype, ttype2) [with ttype = double; ttype2 = std::complex<qd_real>; Complex = std::complex<qd_real>]': >Lgamma.cc:152:22: required from here > 152 | else return ((GAMMA(.5,z*z)-comp_inc_GAMMA(.5+0*I,z*z))*z/sqrt(Pi)); > | ~~~~~^~~~~~~~ >Lgamma.h:218:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 218 | log_G=log_2Pi/2+(z+M-.5)*log(z+M)-(z+M); > | ~^~ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lgamma.h:218:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 218 | log_G=log_2Pi/2+(z+M-.5)*log(z+M)-(z+M); > | ~^~ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lgamma.h:218:45: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 218 | log_G=log_2Pi/2+(z+M-.5)*log(z+M)-(z+M); > | ~~^~~ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lgamma.h:225:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 225 | y=bernoulli[m]/(m*(m-1)*r2); > | ~~~~~~~~^~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lgamma.h:242:18: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 242 | r*=(z+m); > | ~~^~~ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >make[1]: *** [Makefile:520: Lgamma.lo] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >make[1]: *** Waiting for unfinished jobs.... >make[1]: Entering directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o Ldokchitser.lo Ldokchitser.cc >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c Ldokchitser.cc -fPIC -DPIC -o .libs/Ldokchitser.o >In file included from Lglobals.h:69, > from L.h:43, > from Ldokchitser.cc:1: >Lmisc.h: In function 'Double lcalc_cos(Double)': >Lmisc.h:81:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 81 | int n=Int(t*cos_taylor_arraysize); > | ^~~~~~~~~~~~~~~~~~~~ >Lcommon.h:51:38: note: in definition of macro 'Int' > 51 | #define Int(x) (int)(lcalc_to_double(x)) > | ^ >In file included from /usr/include/qd/qd_real.h:290, > from Lglobals.h:43: >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >In file included from L.h:44: >Lmisc.h: In function 'void lcalc_cis(Double&, Double&, Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:108:7: note: in expansion of macro 'lcalc_sin' > 108 | s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_expIt(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:119:30: note: in expansion of macro 'lcalc_sin' > 119 | Double c=lcalc_cos(t), s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_exp(Complex)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:129:34: note: in expansion of macro 'lcalc_sin' > 129 | Double c=r*lcalc_cos(t), s=r*lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex sinc(Complex)': >Lmisc.h:150:17: error: conversion from 'int' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 150 | Complex ans=1; > | ^ >Lmisc.h: In function 'Double sinc(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:167:30: note: in expansion of macro 'lcalc_sin' > 167 | if(abs(u) > sin_tol) ans=lcalc_sin(u)/u; > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >In file included from L.h:48: >Lriemannsiegel_blfi.h: In function 'Double blfi_kernel(Double)': >Lriemannsiegel_blfi.h:18:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:65: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:79: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:93: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:102: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >In file included from L.h:607: >Lvalue.h: In member function 'Complex L_function<ttype>::value(Complex, int, const char*, const char*)': >Lvalue.h:549:23: error: could not convert '0' from 'int' to 'Complex' {aka 'std::complex<qd_real>'} [-Wtemplate-body] > 549 | return 0; //else we're at a trivial zero > | ^ > | | > | int >In file included from L.h:612: >Lexplicit_formula.h: In function 'Double Heaviside(Double)': >Lexplicit_formula.h:30:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 30 | return Double(1)/2; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h: In function 'Complex xxx_phi_hat(Double, Double, Double, const char*, int, std::vector<qd_real>)': >Lexplicit_formula.h:95:33: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 95 | Double y=twoPi*u/sqrt(2*alpha); > | ^~~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:96:63: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 96 | Double phi_0= hermite_norm[n]*hermite_H(y,n)*exp(-y*y/2); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:24: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:47: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:163:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 163 | r=-(n-j)*r/(j+1); > | ^ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:163:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 163 | r=-(n-j)*r/(j+1); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h: In instantiation of 'ttype hermite_H(ttype, int) [with ttype = qd_real]': >Lexplicit_formula.h:96:48: required from here > 96 | Double phi_0= hermite_norm[n]*hermite_H(y,n)*exp(-y*y/2); > | ~~~~~~~~~^~~~~ >Lexplicit_formula.h:12:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 12 | else if(n==1) return 2*y; > | ~^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:14:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 14 | ttype H_a = 1, H_b = 2*y, H_c; > | ~^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:17:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 17 | H_c= 2*(y*H_b-count*H_a); > | ~~~~~^~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:17:19: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 17 | H_c= 2*(y*H_b-count*H_a); > | ~^~~~~~~~~~~~~~~~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >make[1]: *** [Makefile:520: Ldokchitser.lo] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >make[1]: Entering directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o Lelliptic.lo Lelliptic.cc >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c Lelliptic.cc -fPIC -DPIC -o .libs/Lelliptic.o >In file included from Lglobals.h:69, > from L.h:43, > from Lelliptic.h:28, > from Lelliptic.cc:24: >Lmisc.h: In function 'Double lcalc_cos(Double)': >Lmisc.h:81:17: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 81 | int n=Int(t*cos_taylor_arraysize); > | ^~~~~~~~~~~~~~~~~~~~ >Lcommon.h:51:38: note: in definition of macro 'Int' > 51 | #define Int(x) (int)(lcalc_to_double(x)) > | ^ >In file included from /usr/include/qd/qd_real.h:290, > from Lglobals.h:43: >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >In file included from L.h:44: >Lmisc.h: In function 'void lcalc_cis(Double&, Double&, Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:108:7: note: in expansion of macro 'lcalc_sin' > 108 | s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_expIt(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:119:30: note: in expansion of macro 'lcalc_sin' > 119 | Double c=lcalc_cos(t), s=lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex lcalc_exp(Complex)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:129:34: note: in expansion of macro 'lcalc_sin' > 129 | Double c=r*lcalc_cos(t), s=r*lcalc_sin(t); > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lmisc.h: In function 'Complex sinc(Complex)': >Lmisc.h:150:17: error: conversion from 'int' to non-scalar type 'Complex' {aka 'std::complex<qd_real>'} requested > 150 | Complex ans=1; > | ^ >Lmisc.h: In function 'Double sinc(Double)': >Lmisc.h:104:37: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 104 | #define lcalc_sin(x) lcalc_cos(x-Pi/2) > | ^ >Lmisc.h:167:30: note: in expansion of macro 'lcalc_sin' > 167 | if(abs(u) > sin_tol) ans=lcalc_sin(u)/u; > | ^~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >In file included from L.h:48: >Lriemannsiegel_blfi.h: In function 'Double blfi_kernel(Double)': >Lriemannsiegel_blfi.h:18:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:49: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:65: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:79: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:93: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lriemannsiegel_blfi.h:18:102: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 18 | return ((((one/39916800*x + one/362880)*x + one/5040)*x + one/120) *x + one/6) * x + 1; > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >In file included from L.h:607: >Lvalue.h: In member function 'Complex L_function<ttype>::value(Complex, int, const char*, const char*)': >Lvalue.h:549:23: error: could not convert '0' from 'int' to 'Complex' {aka 'std::complex<qd_real>'} [-Wtemplate-body] > 549 | return 0; //else we're at a trivial zero > | ^ > | | > | int >In file included from L.h:612: >Lexplicit_formula.h: In function 'Double Heaviside(Double)': >Lexplicit_formula.h:30:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 30 | return Double(1)/2; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h: In function 'Complex xxx_phi_hat(Double, Double, Double, const char*, int, std::vector<qd_real>)': >Lexplicit_formula.h:95:33: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 95 | Double y=twoPi*u/sqrt(2*alpha); > | ^~~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:96:63: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 96 | Double phi_0= hermite_norm[n]*hermite_H(y,n)*exp(-y*y/2); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:53: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:145:57: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 145 | s+=r*pow(w+n-2*j,n-1-i)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:24: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:47: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:209:16: note: candidate 1: 'qd_real operator+(const qd_real&, double)' > 209 | inline qd_real operator+(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:59:16: note: candidate 2: 'Complex operator+(const Complex&, int)' > 59 | inline Complex operator+ (const Complex &l, int r) { return l + Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:162:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 162 | s+=r*pow(w+n-2*j,n-1)*Heaviside(w+n-2*j); > | ^ >/usr/include/qd/qd_inline.h:443:16: note: candidate 1: 'qd_real operator-(const qd_real&, double)' > 443 | inline qd_real operator-(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:60:16: note: candidate 2: 'Complex operator-(const Complex&, int)' > 60 | inline Complex operator- (const Complex &l, int r) { return l - Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h:163:22: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 163 | r=-(n-j)*r/(j+1); > | ^ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:163:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 163 | r=-(n-j)*r/(j+1); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lexplicit_formula.h: In instantiation of 'ttype hermite_H(ttype, int) [with ttype = qd_real]': >Lexplicit_formula.h:96:48: required from here > 96 | Double phi_0= hermite_norm[n]*hermite_H(y,n)*exp(-y*y/2); > | ~~~~~~~~~^~~~~ >Lexplicit_formula.h:12:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 12 | else if(n==1) return 2*y; > | ~^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:14:31: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 14 | ttype H_a = 1, H_b = 2*y, H_c; > | ~^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:17:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 17 | H_c= 2*(y*H_b-count*H_a); > | ~~~~~^~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lexplicit_formula.h:17:19: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 17 | H_c= 2*(y*H_b-count*H_a); > | ~^~~~~~~~~~~~~~~~~~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >make[1]: *** [Makefile:520: Lelliptic.lo] Error 1 >make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >make[1]: Entering directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >/bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c -o Lglobals.lo Lglobals.cc >libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -c Lglobals.cc -fPIC -DPIC -o .libs/Lglobals.o >Lglobals.cc:107:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 107 | const Double sin_cof[]={1,-Double(1)/6,Double(1)/120,-Double(1)/5040,Double(1)/362880,-Double(1)/39916800}; > | ^ >In file included from Lglobals.h:43, > from Lglobals.cc:24: >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:107:50: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 107 | const Double sin_cof[]={1,-Double(1)/6,Double(1)/120,-Double(1)/5040,Double(1)/362880,-Double(1)/39916800}; > | ^~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:107:65: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 107 | const Double sin_cof[]={1,-Double(1)/6,Double(1)/120,-Double(1)/5040,Double(1)/362880,-Double(1)/39916800}; > | ^~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:107:80: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 107 | const Double sin_cof[]={1,-Double(1)/6,Double(1)/120,-Double(1)/5040,Double(1)/362880,-Double(1)/39916800}; > | ^~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:107:98: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 107 | const Double sin_cof[]={1,-Double(1)/6,Double(1)/120,-Double(1)/5040,Double(1)/362880,-Double(1)/39916800}; > | ^~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:118:38: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 118 | const Double sinh_mult_fac=Double(1)/2; > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc: In function 'void initialize_globals(int)': >Lglobals.cc:224:25: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 224 | Pi= 4*atan(Double(1)); > | ^ >In file included from /usr/include/qd/qd_real.h:290: >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:227:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 227 | twoPi=2*Pi; > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:245:14: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 245 | A=1./(16*Pi*Pi*23*DIGITS/10.); > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:245:20: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 245 | A=1./(16*Pi*Pi*23*DIGITS/10.); > | ^~ >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >Lglobals.cc:245:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 245 | A=1./(16*Pi*Pi*23*DIGITS/10.); > | ^~~~~~ >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >Lglobals.cc:246:12: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 246 | incr=2*Pi*.5/(log(10.)*DIGITS); //.5 here is current v in Riemann sum method > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:277:66: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 277 | for(k=1;k<=n;k++) two_inverse_SQUARE_ROOT[k]=2/sqrt((Double)k); > | ^ >/usr/include/qd/qd_inline.h:753:16: note: candidate 1: 'qd_real operator/(double, const qd_real&)' > 753 | inline qd_real operator/(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:66:16: note: candidate 2: 'Complex operator/(int, const Complex&)' > 66 | inline Complex operator/(int l, const Complex &r) { return Double(l) / r; } > | ^~~~~~~~ >Lglobals.cc:301:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 301 | r=r*(k+1-j)*1./(j+1); > | ^ >/usr/include/qd/qd_inline.h:490:16: note: candidate 1: 'qd_real operator*(const qd_real&, double)' > 490 | inline qd_real operator*(const qd_real &a, double b) { > | ^~~~~~~~ >Lglobals.h:57:16: note: candidate 2: 'Complex operator*(const Complex&, int)' > 57 | inline Complex operator* (const Complex &l, int r) { return l * Double(r); } > | ^~~~~~~~ >Lglobals.cc:301:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 301 | r=r*(k+1-j)*1./(j+1); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:304:28: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 304 | bernoulli[k]=x/(k+1); > | ^ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:307:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 307 | hermite_norm[0]=1/sqrt(sqrt(Pi)); > | ^ >/usr/include/qd/qd_inline.h:753:16: note: candidate 1: 'qd_real operator/(double, const qd_real&)' > 753 | inline qd_real operator/(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:66:16: note: candidate 2: 'Complex operator/(int, const Complex&)' > 66 | inline Complex operator/(int l, const Complex &r) { return Double(l) / r; } > | ^~~~~~~~ >Lglobals.cc:316:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 316 | temme_a[2]=1/temme_a[2]; //doing temme_a[2]=1./3 causes problems with long doubles or multiprecision. > | ^ >/usr/include/qd/qd_inline.h:753:16: note: candidate 1: 'qd_real operator/(double, const qd_real&)' > 753 | inline qd_real operator/(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:66:16: note: candidate 2: 'Complex operator/(int, const Complex&)' > 66 | inline Complex operator/(int l, const Complex &r) { return Double(l) / r; } > | ^~~~~~~~ >Lglobals.cc:318:27: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 318 | temme_a[3]=1/temme_a[3]; > | ^ >/usr/include/qd/qd_inline.h:753:16: note: candidate 1: 'qd_real operator/(double, const qd_real&)' > 753 | inline qd_real operator/(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:66:16: note: candidate 2: 'Complex operator/(int, const Complex&)' > 66 | inline Complex operator/(int l, const Complex &r) { return Double(l) / r; } > | ^~~~~~~~ >Lglobals.cc:323:30: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 323 | dsum+=j*temme_a[j]*temme_a[i-j+1]; > | ^ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:330:32: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 330 | temme_g[i]=(1-2*(i%2))*df*temme_a[2*i+1]; //gives overflow error when i=150; > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc: In function 'void extend_sqrt_table(int)': >Lglobals.cc:386:94: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 386 | for(n=number_sqrts+1;n<=new_number_sqrts;n++) two_inverse_SQUARE_ROOT[n]=2/sqrt((Double)n); > | ^ >/usr/include/qd/qd_inline.h:753:16: note: candidate 1: 'qd_real operator/(double, const qd_real&)' > 753 | inline qd_real operator/(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:66:16: note: candidate 2: 'Complex operator/(int, const Complex&)' > 66 | inline Complex operator/(int l, const Complex &r) { return Double(l) / r; } > | ^~~~~~~~ >Lglobals.cc: In function 'void initialize_cos_array()': >Lglobals.cc:501:45: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 501 | one_over_cos_taylor_arraysize=Double(1)/cos_taylor_arraysize; > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:502:39: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 502 | twoPi_over_cos_taylor_arraysize=2*Pi/cos_taylor_arraysize; > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:502:42: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 502 | twoPi_over_cos_taylor_arraysize=2*Pi/cos_taylor_arraysize; > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >Lglobals.cc:512:13: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 512 | x=2*Pi*(m+.5)/cos_taylor_arraysize; > | ^~ >/usr/include/qd/qd_inline.h:477:16: note: candidate 1: 'qd_real operator*(double, const qd_real&)' > 477 | inline qd_real operator*(double a, const qd_real &b) { > | ^~~~~~~~ >Lglobals.h:64:16: note: candidate 2: 'Complex operator*(int, const Complex&)' > 64 | inline Complex operator*(int l, const Complex &r) { return r * l; } > | ^~~~~~~~ >Lglobals.cc:512:23: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: > 512 | x=2*Pi*(m+.5)/cos_taylor_arraysize; > | ^~~~~~~~~~~~~~~~~~~~ >/usr/include/qd/qd_real.h:188:16: note: candidate 1: 'qd_real operator/(const qd_real&, double)' > 188 | QD_API qd_real operator/(const qd_real &a, double b); > | ^~~~~~~~ >Lglobals.h:58:16: note: candidate 2: 'Complex operator/(const Complex&, int)' > 58 | inline Complex operator/ (const Complex &l, int r) { return l / Double(r); } > | ^~~~~~~~ >make[1]: Leaving directory '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0/src/libLfunction' >make: *** [Makefile:482: all-recursive] Error 1 > * ERROR: sci-mathematics/lcalc-2.1.0-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sci-mathematics/lcalc-2.1.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sci-mathematics/lcalc-2.1.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sci-mathematics:lcalc-2.1.0-r1:20250518-210321.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0' > * S: '/var/tmp/portage/sci-mathematics/lcalc-2.1.0-r1/work/lcalc-2.1.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 956301
:
929078
|
929079
|
929080
|
929081
|
929082
|
929083
| 929084 |
929085