Warning: Permanently added '34.228.23.246' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/11200084-fedora-45-x86_64 --chroot fedora-45-x86_64 Version: 1.10 PID: 11835 Logging PID: 11837 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 11200084, 'buildroot_pkgs': [], 'chroot': 'fedora-45-x86_64', 'enable_net': False, 'fedora_review': False, 'git_hash': 'd6db5eecf2a3ba06b6f38c3098d1aea4a337ca9b', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'libroadrunner', 'package_version': '2.11.0-1', 'project_dirname': 'biofedora', 'project_name': 'biofedora', 'project_owner': 'mhough', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/biofedora/fedora-45-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None, 'repo_gpgcheck': False}, {'baseurl': 'https://download.copr.fedorainfracloud.org/results/mhough/neurofedora/fedora-45-x86_64/', 'id': 'copr_mhough_neurofedora', 'name': 'Additional repo copr_mhough_neurofedora', 'repo_gpgcheck': False}], 'sandbox': 'mhough/biofedora--mhough', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': 1, 'submitter': 'mhough', 'tags': [], 'task_id': '11200084-fedora-45-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/mhough/biofedora/libroadrunner', '/var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner'... Running: git checkout d6db5eecf2a3ba06b6f38c3098d1aea4a337ca9b -- cmd: ['git', 'checkout', 'd6db5eecf2a3ba06b6f38c3098d1aea4a337ca9b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner rc: 0 stdout: stderr: Note: switching to 'd6db5eecf2a3ba06b6f38c3098d1aea4a337ca9b'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at d6db5ee automatic import of libroadrunner Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading libroadrunner-2.11.0.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -H 'Accept-Encoding: identity' -o libroadrunner-2.11.0.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/mhough/biofedora/libroadrunner/libroadrunner-2.11.0.tar.gz/md5/b6d156a574d0dec0590a10ab3c6cdb51/libroadrunner-2.11.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 44.39M 100 44.39M 0 0 291.5M 0 0 INFO: Reading stdout from command: md5sum libroadrunner-2.11.0.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1792804413.190438 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.9 starting (python version = 3.14.5, NVR = mock-6.9-1.fc44), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner/libroadrunner.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1792804413.190438 -r /var/lib/copr-rpmbuild/results/configs/child.cfg Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner/libroadrunner.spec) Config(fedora-45-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 6.9 INFO: Mock Version: 6.9 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-45-x86_64-bootstrap-1792804413.190438/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:45 INFO: Pulling image: registry.fedoraproject.org/fedora:45 INFO: Tagging container image as mock-bootstrap-facc4244-aec2-4f1c-a7b7-66b0c0971469 INFO: Checking that d55562596c9d5195b413d29026fffe27bd186cb535b61566054a53227b8ef19a image matches host's architecture INFO: Copy content of container d55562596c9d5195b413d29026fffe27bd186cb535b61566054a53227b8ef19a to /var/lib/mock/fedora-45-x86_64-bootstrap-1792804413.190438/root INFO: mounting d55562596c9d5195b413d29026fffe27bd186cb535b61566054a53227b8ef19a with podman image mount INFO: image d55562596c9d5195b413d29026fffe27bd186cb535b61566054a53227b8ef19a as /var/lib/containers/storage/overlay/827f3e22639eaa17e3cafaa2f271ed8c5f6ef443248916e2ca27079278ef8ba1/merged INFO: umounting image d55562596c9d5195b413d29026fffe27bd186cb535b61566054a53227b8ef19a (/var/lib/containers/storage/overlay/827f3e22639eaa17e3cafaa2f271ed8c5f6ef443248916e2ca27079278ef8ba1/merged) with podman image umount INFO: Removing image mock-bootstrap-facc4244-aec2-4f1c-a7b7-66b0c0971469 INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-45-x86_64-1792804413.190438/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.1.0-1.fc45.x86_64 rpm-sequoia-1.10.3-1.fc45.x86_64 dnf5-5.4.6.0-3.fc45.x86_64 dnf5-plugins-5.4.6.0-3.fc45.x86_64 Start: installing minimal buildroot with dnf5 Updating and loading repositories: updates 100% | 2.3 KiB/s | 26.4 KiB | 00m12s Copr repository 100% | 4.4 KiB/s | 52.2 KiB | 00m12s Additional repo copr_mhough_neurofedor 100% | 78.5 KiB/s | 943.0 KiB | 00m12s fedora 100% | 3.0 MiB/s | 36.6 MiB | 00m12s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash x86_64 0:5.3.15-2.fc45 fedora 8.5 MiB bzip2 x86_64 0:1.0.8-24.fc45 fedora 95.0 KiB coreutils x86_64 0:9.11-6.fc45 fedora 5.9 MiB cpio x86_64 0:2.15-10.fc45 fedora 1.1 MiB diffutils x86_64 0:3.12-6.fc45 fedora 1.6 MiB fedora-release-common noarch 0:45-13 fedora 4.2 KiB findutils x86_64 1:4.11.0-2.fc45 fedora 1.9 MiB gawk x86_64 0:5.4.1-1.fc45 fedora 2.2 MiB glibc-minimal-langpack x86_64 0:2.44-1.fc45 fedora 0.0 B grep x86_64 0:3.12-4.fc45 fedora 1.0 MiB gzip x86_64 0:1.14-4.fc45 fedora 401.6 KiB info x86_64 0:7.3-3.fc45 fedora 372.4 KiB patch x86_64 0:2.8-6.fc45 fedora 226.6 KiB redhat-rpm-config noarch 0:345-4.fc45 fedora 184.2 KiB rpm-build x86_64 0:6.1.0-1.fc45 fedora 312.2 KiB sed x86_64 0:4.10-2.fc45 fedora 866.5 KiB shadow-utils x86_64 2:4.20.0-2.fc45 fedora 3.9 MiB tar x86_64 2:1.35-10.fc45 fedora 3.0 MiB unzip x86_64 0:6.0-71.fc45 fedora 441.8 KiB util-linux x86_64 0:2.42.4-1.fc45 fedora 3.7 MiB which x86_64 0:2.25-2.fc45 fedora 83.6 KiB xz x86_64 1:5.8.3-2.fc45 fedora 1.4 MiB Installing dependencies: R-srpm-macros noarch 0:1.3.7-3.fc45 fedora 3.5 KiB add-determinism x86_64 0:0.7.3-3.fc45 fedora 2.2 MiB alternatives x86_64 0:1.33-6.fc45 fedora 62.1 KiB ansible-srpm-macros noarch 0:1-22.fc45 fedora 35.7 KiB audit-libs x86_64 0:4.2.1-2.fc45 fedora 390.5 KiB binutils x86_64 0:2.47-1.fc45 fedora 28.4 MiB build-reproducibility-srpm-macros noarch 0:0.7.3-3.fc45 fedora 1.2 KiB bzip2-libs x86_64 0:1.0.8-24.fc45 fedora 80.5 KiB ca-certificates noarch 0:2026.2.92_v9.0.319-2.fc45 fedora 2.7 MiB cmake-srpm-macros noarch 0:4.3.0-5.fc45 fedora 524.0 B coreutils-common x86_64 0:9.11-6.fc45 fedora 10.9 MiB crypto-policies noarch 0:20260713-2.gitc42da77.fc45 fedora 134.3 KiB curl x86_64 0:8.21.0-6.fc45 fedora 487.9 KiB cyrus-sasl-lib x86_64 0:2.1.28-37.fc45 fedora 2.3 MiB debugedit x86_64 0:5.3-3.fc45 fedora 220.8 KiB dwz x86_64 0:0.17-3.fc45 fedora 291.1 KiB ed x86_64 0:1.22.6-1.fc45 fedora 150.9 KiB efi-srpm-macros noarch 0:6-9.fc45 fedora 40.3 KiB elfutils x86_64 0:0.196-1.fc45 fedora 3.1 MiB elfutils-debuginfod-client x86_64 0:0.196-1.fc45 fedora 79.9 KiB elfutils-libelf x86_64 0:0.196-1.fc45 fedora 1.4 MiB elfutils-libs x86_64 0:0.196-1.fc45 fedora 719.6 KiB erlang-srpm-macros noarch 0:0.3.11-2.fc45 fedora 1.9 KiB fedora-gpg-keys noarch 0:45-1 fedora 130.3 KiB fedora-release noarch 0:45-13 fedora 0.0 B fedora-release-identity-basic noarch 0:45-13 fedora 629.0 B fedora-repos noarch 0:45-1 fedora 4.9 KiB file x86_64 0:5.48-3.fc45 fedora 101.9 KiB file-libs x86_64 0:5.48-3.fc45 fedora 12.3 MiB filesystem x86_64 0:3.18-59.fc45 fedora 112.0 B filesystem-srpm-macros noarch 0:3.18-59.fc45 fedora 38.2 KiB fips-provider x86_64 0:1.5.2-3.fc45 fedora 4.8 MiB fonts-srpm-macros noarch 1:5.0.0-4.fc45 fedora 55.8 KiB forge-srpm-macros noarch 0:0.4.0-5.fc45 fedora 38.9 KiB fpc-srpm-macros noarch 0:1.3-17.fc45 fedora 144.0 B gap-srpm-macros noarch 0:2-3.fc45 fedora 2.1 KiB gdb-minimal x86_64 0:17.2-6.fc45 fedora 14.2 MiB gdbm-libs x86_64 1:1.23-12.fc45 fedora 133.7 KiB ghc-srpm-macros noarch 0:1.10-2.fc45 fedora 792.0 B glibc x86_64 0:2.44-1.fc45 fedora 7.1 MiB glibc-common x86_64 0:2.44-1.fc45 fedora 1.0 MiB glibc-gconv-extra x86_64 0:2.44-1.fc45 fedora 7.7 MiB gmp x86_64 1:6.3.0-6.fc45 fedora 815.2 KiB gnat-srpm-macros noarch 0:7-3.fc45 fedora 1.0 KiB gnome-srpm-macros noarch 0:1.0-2.fc45 fedora 3.5 KiB gnulib-l10n noarch 0:20241231-4.fc45 fedora 655.0 KiB gnupg2 x86_64 0:2.4.9-18.fc45 fedora 6.5 MiB gnupg2-dirmngr x86_64 0:2.4.9-18.fc45 fedora 630.1 KiB gnupg2-gpg-agent x86_64 0:2.4.9-18.fc45 fedora 678.8 KiB gnupg2-gpgconf x86_64 0:2.4.9-18.fc45 fedora 253.8 KiB gnupg2-keyboxd x86_64 0:2.4.9-18.fc45 fedora 201.3 KiB gnupg2-verify x86_64 0:2.4.9-18.fc45 fedora 356.3 KiB gnutls x86_64 0:3.8.13-3.fc45 fedora 3.8 MiB go-srpm-macros noarch 0:3.8.0-3.fc45 fedora 61.9 KiB gpgverify noarch 0:2.2-5.fc45 fedora 8.7 KiB ima-evm-utils-libs x86_64 0:1.6.2-12.fc45 fedora 56.6 KiB jansson x86_64 0:2.14-5.fc45 fedora 89.0 KiB java-srpm-macros noarch 0:1-9.fc45 fedora 870.0 B json-c x86_64 0:0.18-9.fc45 fedora 82.7 KiB kernel-srpm-macros noarch 0:1.0-30.fc45 fedora 1.9 KiB keyutils-libs x86_64 0:1.6.3-8.fc45 fedora 54.2 KiB krb5-libs x86_64 0:1.22.2-9.fc45 fedora 2.4 MiB libacl x86_64 0:2.4.0-2.fc45 fedora 43.9 KiB libarchive x86_64 0:3.8.9-2.fc45 fedora 1.0 MiB libassuan x86_64 0:2.5.7-6.fc45 fedora 163.9 KiB libattr x86_64 0:2.6.0-2.fc45 fedora 24.3 KiB libblkid x86_64 0:2.42.4-1.fc45 fedora 282.3 KiB libbrotli x86_64 0:1.2.0-6.fc45 fedora 865.0 KiB libcap x86_64 0:2.78-2.fc45 fedora 208.2 KiB libcap-ng x86_64 0:0.9.6-1.fc45 fedora 68.8 KiB libcbor x86_64 0:0.14.0-3.fc45 fedora 83.5 KiB libcom_err x86_64 0:1.47.4-2.fc45 fedora 63.0 KiB libcurl x86_64 0:8.21.0-6.fc45 fedora 1.1 MiB libeconf x86_64 0:0.7.9-4.fc45 fedora 64.8 KiB libevent x86_64 0:2.1.13-1.fc45 fedora 980.7 KiB libfdisk x86_64 0:2.42.4-1.fc45 fedora 392.3 KiB libffi x86_64 0:3.5.2-3.fc45 fedora 83.7 KiB libfido2 x86_64 0:1.17.0-5.fc45 fedora 256.5 KiB libfsverity x86_64 0:1.7-4.fc45 fedora 24.4 KiB libgcc x86_64 0:16.2.1-2.fc45.1 fedora 270.7 KiB libgcrypt x86_64 0:1.12.2-2.fc45 fedora 1.7 MiB libgomp x86_64 0:16.2.1-2.fc45.1 fedora 577.5 KiB libgpg-error x86_64 0:1.61-2.fc45 fedora 953.9 KiB libidn2 x86_64 0:2.3.8-4.fc45 fedora 556.4 KiB libksba x86_64 0:1.8.0-3.fc45 fedora 431.1 KiB liblastlog2 x86_64 0:2.42.4-1.fc45 fedora 37.6 KiB libmount x86_64 0:2.42.4-1.fc45 fedora 408.9 KiB libnghttp2 x86_64 0:1.69.0-6.fc45 fedora 166.1 KiB libnghttp3 x86_64 0:1.18.0-1.fc45 fedora 163.4 KiB libpfm x86_64 0:4.13.0-23.fc45 fedora 1.7 MiB libpkgconf x86_64 0:2.5.1-2.fc45 fedora 90.1 KiB libpsl x86_64 0:0.23.1-1.fc45 fedora 80.4 KiB libselinux x86_64 0:3.11-5.fc45 fedora 205.2 KiB libselinux-utils x86_64 0:3.11-5.fc45 fedora 306.0 KiB libsemanage x86_64 0:3.11-4.fc45 fedora 320.6 KiB libsepol x86_64 0:3.11-2.fc45 fedora 866.1 KiB libsmartcols x86_64 0:2.42.4-1.fc45 fedora 188.5 KiB libssh x86_64 0:0.12.2-1.fc45 fedora 725.7 KiB libssh-config noarch 0:0.12.2-1.fc45 fedora 277.0 B libstdc++ x86_64 0:16.2.1-2.fc45.1 fedora 3.1 MiB libtasn1 x86_64 0:4.21.0-2.fc45 fedora 176.6 KiB libtool-ltdl x86_64 0:2.5.4-11.fc45 fedora 70.0 KiB libunistring x86_64 0:1.1-12.fc45 fedora 1.7 MiB libusb1 x86_64 0:1.0.30-2.fc45 fedora 180.1 KiB libuuid x86_64 0:2.42.4-1.fc45 fedora 37.2 KiB libverto x86_64 0:0.3.2-13.fc45 fedora 25.3 KiB libxcrypt x86_64 0:4.5.2-4.fc45 fedora 293.2 KiB libxml2 x86_64 0:2.15.4-1.fc45 fedora 1.7 MiB libzstd x86_64 0:1.5.7-6.fc45 fedora 956.1 KiB linkdupes x86_64 0:0.7.3-3.fc45 fedora 782.1 KiB lua-libs x86_64 0:5.5.1-2.fc45 fedora 298.0 KiB lua-srpm-macros noarch 0:1-18.fc45 fedora 1.3 KiB lz4-libs x86_64 0:1.10.0-5.fc45 fedora 165.3 KiB meson-srpm-macros noarch 0:1.12.1-1.fc45 fedora 1.7 KiB mpfr x86_64 0:4.2.2-4.fc45 fedora 849.2 KiB ncurses-base noarch 0:6.6-3.fc45 fedora 329.7 KiB ncurses-libs x86_64 0:6.6-3.fc45 fedora 969.1 KiB nettle x86_64 0:4.0-5.fc45 fedora 801.9 KiB ngtcp2 x86_64 0:1.22.1-3.fc45 fedora 334.3 KiB ngtcp2-crypto-ossl x86_64 0:1.22.1-3.fc45 fedora 51.6 KiB npth x86_64 0:1.8-5.fc45 fedora 49.5 KiB ocaml-srpm-macros noarch 0:11-4.fc45 fedora 1.9 KiB openblas-srpm-macros noarch 0:2-22.fc45 fedora 112.0 B openldap x86_64 0:2.6.14-1.fc45 fedora 678.9 KiB openssl-libs x86_64 1:4.0.3-1.fc45 fedora 6.7 MiB p11-kit x86_64 0:0.26.5-1.fc45 fedora 2.6 MiB p11-kit-trust x86_64 0:0.26.5-1.fc45 fedora 478.4 KiB package-notes-srpm-macros noarch 0:0.20-2.fc45 fedora 1.6 KiB pam-libs x86_64 0:1.7.2-4.fc45 fedora 134.5 KiB pcre2 x86_64 0:10.47-1.fc45.2 fedora 718.5 KiB pcre2-syntax noarch 0:10.47-1.fc45.2 fedora 281.9 KiB perl-srpm-macros noarch 0:1-65.fc45 fedora 861.0 B pkgconf x86_64 0:2.5.1-2.fc45 fedora 92.7 KiB pkgconf-m4 noarch 0:2.5.1-2.fc45 fedora 14.3 KiB pkgconf-pkg-config x86_64 0:2.5.1-2.fc45 fedora 989.0 B policycoreutils x86_64 0:3.11-2.fc45 fedora 892.9 KiB popt x86_64 0:1.19-11.fc45 fedora 136.7 KiB publicsuffix-list-dafsa noarch 0:20260624-2.fc45 fedora 71.3 KiB pyproject-srpm-macros noarch 0:1.23.2-1.fc45 fedora 3.4 KiB python-srpm-macros noarch 0:3.15-2.fc45 fedora 51.6 KiB qt5-srpm-macros noarch 0:5.15.18-3.fc45 fedora 500.0 B qt6-srpm-macros noarch 0:6.11.2-1.fc45 fedora 472.0 B readline x86_64 0:8.3-6.fc45 fedora 515.5 KiB redhat-systemd-presets noarch 0:102-3.fc45 fedora 1.0 KiB redhat-systemd-presets-common noarch 0:102-3.fc45 fedora 16.9 KiB rpm x86_64 0:6.1.0-1.fc45 fedora 3.1 MiB rpm-build-libs x86_64 0:6.1.0-1.fc45 fedora 288.3 KiB rpm-libs x86_64 0:6.1.0-1.fc45 fedora 1.1 MiB rpm-plugin-selinux x86_64 0:6.1.0-1.fc45 fedora 11.9 KiB rpm-sequoia x86_64 0:1.10.3-1.fc45 fedora 2.4 MiB rpm-sign-libs x86_64 0:6.1.0-1.fc45 fedora 39.6 KiB rust-srpm-macros noarch 0:28.5-2.fc45 fedora 5.5 KiB selinux-policy noarch 0:45.20-1.fc45 fedora 32.1 KiB selinux-policy-targeted noarch 0:45.20-1.fc45 fedora 19.0 MiB setup noarch 0:2.15.1-2.fc45 fedora 725.6 KiB sqlite-libs x86_64 0:3.53.4-1.fc45 fedora 1.6 MiB systemd-libs x86_64 0:262-3.fc45 fedora 2.8 MiB systemd-standalone-sysusers x86_64 0:262-3.fc45 fedora 981.3 KiB tpm2-tss x86_64 0:4.2.0-1.fc45 fedora 1.7 MiB tree-sitter-srpm-macros noarch 0:0.4.6-2.fc45 fedora 8.6 KiB util-linux-core x86_64 0:2.42.4-1.fc45 fedora 1.5 MiB xxhash-libs x86_64 0:0.8.4-1.fc45 fedora 94.0 KiB xz-libs x86_64 1:5.8.3-2.fc45 fedora 221.7 KiB zig-srpm-macros noarch 0:1-9.fc45 fedora 1.3 KiB zip x86_64 0:3.0-46.fc45 fedora 694.1 KiB zlib-ng-compat x86_64 0:2.3.3-6.fc45 fedora 165.6 KiB zstd x86_64 0:1.5.7-6.fc45 fedora 502.6 KiB Installing groups: Buildsystem building group Transaction Summary: Installing: 189 packages Total size of inbound packages is 72 MiB. Need to download 72 MiB. After this operation, 233 MiB extra will be used (install 233 MiB, remove 0 B). [ 1/189] bzip2-0:1.0.8-24.fc45.x86_64 100% | 8.5 MiB/s | 52.3 KiB | 00m00s [ 2/189] cpio-0:2.15-10.fc45.x86_64 100% | 28.6 MiB/s | 292.5 KiB | 00m00s [ 3/189] coreutils-0:9.11-6.fc45.x86_6 100% | 74.9 MiB/s | 1.2 MiB | 00m00s [ 4/189] bash-0:5.3.15-2.fc45.x86_64 100% | 105.1 MiB/s | 1.9 MiB | 00m00s [ 5/189] diffutils-0:3.12-6.fc45.x86_6 100% | 55.3 MiB/s | 396.6 KiB | 00m00s [ 6/189] fedora-release-common-0:45-13 100% | 2.9 MiB/s | 17.8 KiB | 00m00s [ 7/189] findutils-1:4.11.0-2.fc45.x86 100% | 92.9 MiB/s | 570.7 KiB | 00m00s [ 8/189] glibc-minimal-langpack-0:2.44 100% | 29.3 MiB/s | 120.1 KiB | 00m00s [ 9/189] grep-0:3.12-4.fc45.x86_64 100% | 49.0 MiB/s | 301.0 KiB | 00m00s [ 10/189] gzip-0:1.14-4.fc45.x86_64 100% | 35.1 MiB/s | 179.6 KiB | 00m00s [ 11/189] info-0:7.3-3.fc45.x86_64 100% | 37.3 MiB/s | 191.2 KiB | 00m00s [ 12/189] redhat-rpm-config-0:345-4.fc4 100% | 38.2 MiB/s | 78.2 KiB | 00m00s [ 13/189] patch-0:2.8-6.fc45.x86_64 100% | 22.3 MiB/s | 114.4 KiB | 00m00s [ 14/189] rpm-build-0:6.1.0-1.fc45.x86_ 100% | 51.5 MiB/s | 158.1 KiB | 00m00s [ 15/189] sed-0:4.10-2.fc45.x86_64 100% | 52.5 MiB/s | 322.8 KiB | 00m00s [ 16/189] tar-2:1.35-10.fc45.x86_64 100% | 85.0 MiB/s | 870.2 KiB | 00m00s [ 17/189] shadow-utils-2:4.20.0-2.fc45. 100% | 101.2 MiB/s | 1.4 MiB | 00m00s [ 18/189] unzip-0:6.0-71.fc45.x86_64 100% | 21.7 MiB/s | 199.6 KiB | 00m00s [ 19/189] which-0:2.25-2.fc45.x86_64 100% | 5.1 MiB/s | 42.2 KiB | 00m00s [ 20/189] xz-1:5.8.3-2.fc45.x86_64 100% | 63.6 MiB/s | 651.2 KiB | 00m00s [ 21/189] util-linux-0:2.42.4-1.fc45.x8 100% | 63.2 MiB/s | 1.3 MiB | 00m00s [ 22/189] gawk-0:5.4.1-1.fc45.x86_64 100% | 45.3 MiB/s | 1.2 MiB | 00m00s [ 23/189] filesystem-0:3.18-59.fc45.x86 100% | 75.7 MiB/s | 1.8 MiB | 00m00s [ 24/189] ncurses-libs-0:6.6-3.fc45.x86 100% | 42.0 MiB/s | 343.7 KiB | 00m00s [ 25/189] bzip2-libs-0:1.0.8-24.fc45.x8 100% | 8.5 MiB/s | 43.5 KiB | 00m00s [ 26/189] glibc-0:2.44-1.fc45.x86_64 100% | 136.4 MiB/s | 2.5 MiB | 00m00s [ 27/189] gmp-1:6.3.0-6.fc45.x86_64 100% | 44.9 MiB/s | 321.8 KiB | 00m00s [ 28/189] coreutils-common-0:9.11-6.fc4 100% | 135.4 MiB/s | 2.2 MiB | 00m00s [ 29/189] libattr-0:2.6.0-2.fc45.x86_64 100% | 3.5 MiB/s | 18.1 KiB | 00m00s [ 30/189] libacl-0:2.4.0-2.fc45.x86_64 100% | 3.4 MiB/s | 27.5 KiB | 00m00s [ 31/189] libcap-0:2.78-2.fc45.x86_64 100% | 21.6 MiB/s | 88.6 KiB | 00m00s [ 32/189] libselinux-0:3.11-5.fc45.x86_ 100% | 14.5 MiB/s | 104.1 KiB | 00m00s [ 33/189] fedora-repos-0:45-1.noarch 100% | 1.8 MiB/s | 9.5 KiB | 00m00s [ 34/189] systemd-libs-0:262-3.fc45.x86 100% | 72.2 MiB/s | 961.4 KiB | 00m00s [ 35/189] openssl-libs-1:4.0.3-1.fc45.x 100% | 101.9 MiB/s | 2.3 MiB | 00m00s [ 36/189] redhat-systemd-presets-0:102- 100% | 854.3 KiB/s | 8.5 KiB | 00m00s [ 37/189] glibc-common-0:2.44-1.fc45.x8 100% | 57.6 MiB/s | 412.5 KiB | 00m00s [ 38/189] ed-0:1.22.6-1.fc45.x86_64 100% | 20.9 MiB/s | 85.6 KiB | 00m00s [ 39/189] R-srpm-macros-0:1.3.7-3.fc45. 100% | 5.4 MiB/s | 11.1 KiB | 00m00s [ 40/189] pcre2-0:10.47-1.fc45.2.x86_64 100% | 54.0 MiB/s | 276.7 KiB | 00m00s [ 41/189] ansible-srpm-macros-0:1-22.fc 100% | 6.5 MiB/s | 19.8 KiB | 00m00s [ 42/189] build-reproducibility-srpm-ma 100% | 3.5 MiB/s | 10.8 KiB | 00m00s [ 43/189] cmake-srpm-macros-0:4.3.0-5.f 100% | 2.5 MiB/s | 10.3 KiB | 00m00s [ 44/189] dwz-0:0.17-3.fc45.x86_64 100% | 45.3 MiB/s | 139.2 KiB | 00m00s [ 45/189] efi-srpm-macros-0:6-9.fc45.no 100% | 7.0 MiB/s | 21.4 KiB | 00m00s [ 46/189] erlang-srpm-macros-0:0.3.11-2 100% | 3.2 MiB/s | 10.0 KiB | 00m00s [ 47/189] file-0:5.48-3.fc45.x86_64 100% | 16.5 MiB/s | 50.7 KiB | 00m00s [ 48/189] filesystem-srpm-macros-0:3.18 100% | 8.6 MiB/s | 26.4 KiB | 00m00s [ 49/189] fonts-srpm-macros-1:5.0.0-4.f 100% | 8.8 MiB/s | 27.2 KiB | 00m00s [ 50/189] fpc-srpm-macros-0:1.3-17.fc45 100% | 2.5 MiB/s | 7.8 KiB | 00m00s [ 51/189] forge-srpm-macros-0:0.4.0-5.f 100% | 6.4 MiB/s | 19.7 KiB | 00m00s [ 52/189] gap-srpm-macros-0:2-3.fc45.no 100% | 4.5 MiB/s | 9.3 KiB | 00m00s [ 53/189] gnat-srpm-macros-0:7-3.fc45.n 100% | 4.2 MiB/s | 8.6 KiB | 00m00s [ 54/189] gnome-srpm-macros-0:1.0-2.fc4 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 55/189] ghc-srpm-macros-0:1.10-2.fc45 100% | 4.1 MiB/s | 8.5 KiB | 00m00s [ 56/189] java-srpm-macros-0:1-9.fc45.n 100% | 4.0 MiB/s | 8.3 KiB | 00m00s [ 57/189] go-srpm-macros-0:3.8.0-3.fc45 100% | 6.8 MiB/s | 27.8 KiB | 00m00s [ 58/189] kernel-srpm-macros-0:1.0-30.f 100% | 2.0 MiB/s | 8.3 KiB | 00m00s [ 59/189] lua-srpm-macros-0:1-18.fc45.n 100% | 2.8 MiB/s | 8.7 KiB | 00m00s [ 60/189] ocaml-srpm-macros-0:11-4.fc45 100% | 2.9 MiB/s | 9.0 KiB | 00m00s [ 61/189] meson-srpm-macros-0:1.12.1-1. 100% | 2.9 MiB/s | 11.7 KiB | 00m00s [ 62/189] openblas-srpm-macros-0:2-22.f 100% | 2.4 MiB/s | 7.5 KiB | 00m00s [ 63/189] package-notes-srpm-macros-0:0 100% | 2.1 MiB/s | 10.5 KiB | 00m00s [ 64/189] perl-srpm-macros-0:1-65.fc45. 100% | 1.6 MiB/s | 8.4 KiB | 00m00s [ 65/189] pyproject-srpm-macros-0:1.23. 100% | 2.5 MiB/s | 15.6 KiB | 00m00s [ 66/189] qt5-srpm-macros-0:5.15.18-3.f 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [ 67/189] python-srpm-macros-0:3.15-2.f 100% | 7.8 MiB/s | 23.9 KiB | 00m00s [ 68/189] qt6-srpm-macros-0:6.11.2-1.fc 100% | 4.4 MiB/s | 9.1 KiB | 00m00s [ 69/189] rpm-0:6.1.0-1.fc45.x86_64 100% | 111.4 MiB/s | 570.4 KiB | 00m00s [ 70/189] tree-sitter-srpm-macros-0:0.4 100% | 2.7 MiB/s | 14.0 KiB | 00m00s [ 71/189] rust-srpm-macros-0:28.5-2.fc4 100% | 1.9 MiB/s | 11.4 KiB | 00m00s [ 72/189] zig-srpm-macros-0:1-9.fc45.no 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 73/189] debugedit-0:5.3-3.fc45.x86_64 100% | 28.6 MiB/s | 87.9 KiB | 00m00s [ 74/189] zip-0:3.0-46.fc45.x86_64 100% | 43.1 MiB/s | 264.6 KiB | 00m00s [ 75/189] elfutils-libelf-0:0.196-1.fc4 100% | 46.6 MiB/s | 238.4 KiB | 00m00s [ 76/189] elfutils-0:0.196-1.fc45.x86_6 100% | 60.8 MiB/s | 622.3 KiB | 00m00s [ 77/189] libarchive-0:3.8.9-2.fc45.x86 100% | 72.6 MiB/s | 446.0 KiB | 00m00s [ 78/189] libgcc-0:16.2.1-2.fc45.1.x86_ 100% | 19.1 MiB/s | 136.6 KiB | 00m00s [ 79/189] popt-0:1.19-11.fc45.x86_64 100% | 16.2 MiB/s | 66.6 KiB | 00m00s [ 80/189] libstdc++-0:16.2.1-2.fc45.1.x 100% | 90.9 MiB/s | 1.0 MiB | 00m00s [ 81/189] readline-0:8.3-6.fc45.x86_64 100% | 31.9 MiB/s | 228.8 KiB | 00m00s [ 82/189] rpm-build-libs-0:6.1.0-1.fc45 100% | 16.5 MiB/s | 134.8 KiB | 00m00s [ 83/189] zstd-0:1.5.7-6.fc45.x86_64 100% | 46.8 MiB/s | 191.7 KiB | 00m00s [ 84/189] rpm-libs-0:6.1.0-1.fc45.x86_6 100% | 66.5 MiB/s | 476.6 KiB | 00m00s [ 85/189] audit-libs-0:4.2.1-2.fc45.x86 100% | 28.0 MiB/s | 143.3 KiB | 00m00s [ 86/189] libeconf-0:0.7.9-4.fc45.x86_6 100% | 5.8 MiB/s | 35.9 KiB | 00m00s [ 87/189] libsemanage-0:3.11-4.fc45.x86 100% | 25.5 MiB/s | 130.5 KiB | 00m00s [ 88/189] libxcrypt-0:4.5.2-4.fc45.x86_ 100% | 18.3 MiB/s | 130.9 KiB | 00m00s [ 89/189] pam-libs-0:1.7.2-4.fc45.x86_6 100% | 14.3 MiB/s | 58.4 KiB | 00m00s [ 90/189] xz-libs-1:5.8.3-2.fc45.x86_64 100% | 28.3 MiB/s | 116.1 KiB | 00m00s [ 91/189] setup-0:2.15.1-2.fc45.noarch 100% | 22.0 MiB/s | 157.6 KiB | 00m00s [ 92/189] mpfr-0:4.2.2-4.fc45.x86_64 100% | 58.2 MiB/s | 357.4 KiB | 00m00s [ 93/189] libblkid-0:2.42.4-1.fc45.x86_ 100% | 21.8 MiB/s | 134.0 KiB | 00m00s [ 94/189] libcap-ng-0:0.9.6-1.fc45.x86_ 100% | 6.8 MiB/s | 34.8 KiB | 00m00s [ 95/189] libfdisk-0:2.42.4-1.fc45.x86_ 100% | 33.1 MiB/s | 169.6 KiB | 00m00s [ 96/189] liblastlog2-0:2.42.4-1.fc45.x 100% | 6.1 MiB/s | 24.8 KiB | 00m00s [ 97/189] libmount-0:2.42.4-1.fc45.x86_ 100% | 35.0 MiB/s | 179.5 KiB | 00m00s [ 98/189] libsmartcols-0:2.42.4-1.fc45. 100% | 28.8 MiB/s | 88.6 KiB | 00m00s [ 99/189] libuuid-0:2.42.4-1.fc45.x86_6 100% | 4.5 MiB/s | 27.7 KiB | 00m00s [100/189] util-linux-core-0:2.42.4-1.fc 100% | 81.3 MiB/s | 583.0 KiB | 00m00s [101/189] zlib-ng-compat-0:2.3.3-6.fc45 100% | 9.8 MiB/s | 90.4 KiB | 00m00s [102/189] ncurses-base-0:6.6-3.fc45.noa 100% | 6.6 MiB/s | 88.1 KiB | 00m00s [103/189] glibc-gconv-extra-0:2.44-1.fc 100% | 89.4 MiB/s | 1.7 MiB | 00m00s [104/189] gnulib-l10n-0:20241231-4.fc45 100% | 9.8 MiB/s | 150.4 KiB | 00m00s [105/189] libsepol-0:3.11-2.fc45.x86_64 100% | 50.9 MiB/s | 365.2 KiB | 00m00s [106/189] crypto-policies-0:20260713-2. 100% | 11.9 MiB/s | 97.5 KiB | 00m00s [107/189] ca-certificates-0:2026.2.92_v 100% | 79.1 MiB/s | 972.1 KiB | 00m00s [108/189] fedora-gpg-keys-0:45-1.noarch 100% | 17.6 MiB/s | 143.9 KiB | 00m00s [109/189] fips-provider-0:1.5.2-3.fc45. 100% | 101.0 MiB/s | 1.6 MiB | 00m00s [110/189] redhat-systemd-presets-common 100% | 1.6 MiB/s | 13.2 KiB | 00m00s [111/189] pcre2-syntax-0:10.47-1.fc45.2 100% | 40.3 MiB/s | 165.1 KiB | 00m00s [112/189] linkdupes-0:0.7.3-3.fc45.x86_ 100% | 66.3 MiB/s | 339.2 KiB | 00m00s [113/189] add-determinism-0:0.7.3-3.fc4 100% | 118.0 MiB/s | 845.7 KiB | 00m00s [114/189] file-libs-0:5.48-3.fc45.x86_6 100% | 108.0 MiB/s | 885.0 KiB | 00m00s [115/189] curl-0:8.21.0-6.fc45.x86_64 100% | 47.6 MiB/s | 243.8 KiB | 00m00s [116/189] elfutils-libs-0:0.196-1.fc45. 100% | 55.6 MiB/s | 284.9 KiB | 00m00s [117/189] elfutils-debuginfod-client-0: 100% | 5.1 MiB/s | 47.1 KiB | 00m00s [118/189] json-c-0:0.18-9.fc45.x86_64 100% | 5.7 MiB/s | 46.7 KiB | 00m00s [119/189] libpfm-0:4.13.0-23.fc45.x86_6 100% | 27.7 MiB/s | 227.0 KiB | 00m00s [120/189] lz4-libs-0:1.10.0-5.fc45.x86_ 100% | 13.1 MiB/s | 80.4 KiB | 00m00s [121/189] libzstd-0:1.5.7-6.fc45.x86_64 100% | 39.5 MiB/s | 363.9 KiB | 00m00s [122/189] libxml2-0:2.15.4-1.fc45.x86_6 100% | 60.1 MiB/s | 676.8 KiB | 00m00s [123/189] lua-libs-0:5.5.1-2.fc45.x86_6 100% | 28.2 MiB/s | 144.3 KiB | 00m00s [124/189] rpm-sign-libs-0:6.1.0-1.fc45. 100% | 8.8 MiB/s | 26.9 KiB | 00m00s [125/189] libgomp-0:16.2.1-2.fc45.1.x86 100% | 48.5 MiB/s | 397.6 KiB | 00m00s [126/189] sqlite-libs-0:3.53.4-1.fc45.x 100% | 132.2 MiB/s | 812.1 KiB | 00m00s [127/189] ima-evm-utils-libs-0:1.6.2-12 100% | 4.9 MiB/s | 30.2 KiB | 00m00s [128/189] gnupg2-0:2.4.9-18.fc45.x86_64 100% | 118.0 MiB/s | 1.7 MiB | 00m00s [129/189] rpm-sequoia-0:1.10.3-1.fc45.x 100% | 53.8 MiB/s | 937.1 KiB | 00m00s [130/189] libfsverity-0:1.7-4.fc45.x86_ 100% | 3.7 MiB/s | 19.0 KiB | 00m00s [131/189] gpgverify-0:2.2-5.fc45.noarch 100% | 2.8 MiB/s | 11.3 KiB | 00m00s [132/189] gnupg2-dirmngr-0:2.4.9-18.fc4 100% | 68.7 MiB/s | 281.6 KiB | 00m00s [133/189] gnupg2-gpg-agent-0:2.4.9-18.f 100% | 68.7 MiB/s | 281.3 KiB | 00m00s [134/189] gnupg2-gpgconf-0:2.4.9-18.fc4 100% | 22.8 MiB/s | 116.5 KiB | 00m00s [135/189] gnupg2-keyboxd-0:2.4.9-18.fc4 100% | 31.5 MiB/s | 96.6 KiB | 00m00s [136/189] gnupg2-verify-0:2.4.9-18.fc45 100% | 43.0 MiB/s | 176.1 KiB | 00m00s [137/189] libgcrypt-0:1.12.2-2.fc45.x86 100% | 102.4 MiB/s | 629.0 KiB | 00m00s [138/189] libassuan-0:2.5.7-6.fc45.x86_ 100% | 9.6 MiB/s | 68.5 KiB | 00m00s [139/189] libgpg-error-0:1.61-2.fc45.x8 100% | 35.3 MiB/s | 252.9 KiB | 00m00s [140/189] npth-0:1.8-5.fc45.x86_64 100% | 6.2 MiB/s | 25.5 KiB | 00m00s [141/189] tpm2-tss-0:4.2.0-1.fc45.x86_6 100% | 74.4 MiB/s | 456.8 KiB | 00m00s [142/189] gnutls-0:3.8.13-3.fc45.x86_64 100% | 129.3 MiB/s | 1.4 MiB | 00m00s [143/189] libksba-0:1.8.0-3.fc45.x86_64 100% | 15.3 MiB/s | 172.2 KiB | 00m00s [144/189] openldap-0:2.6.14-1.fc45.x86_ 100% | 29.6 MiB/s | 272.7 KiB | 00m00s [145/189] libusb1-0:1.0.30-2.fc45.x86_6 100% | 27.3 MiB/s | 83.8 KiB | 00m00s [146/189] libidn2-0:2.3.8-4.fc45.x86_64 100% | 42.8 MiB/s | 175.2 KiB | 00m00s [147/189] libtasn1-0:4.21.0-2.fc45.x86_ 100% | 18.5 MiB/s | 75.9 KiB | 00m00s [148/189] nettle-0:4.0-5.fc45.x86_64 100% | 83.9 MiB/s | 429.7 KiB | 00m00s [149/189] libunistring-0:1.1-12.fc45.x8 100% | 66.6 MiB/s | 545.8 KiB | 00m00s [150/189] p11-kit-0:0.26.5-1.fc45.x86_6 100% | 78.1 MiB/s | 560.0 KiB | 00m00s [151/189] libevent-0:2.1.13-1.fc45.x86_ 100% | 94.2 MiB/s | 289.3 KiB | 00m00s [152/189] libtool-ltdl-0:2.5.4-11.fc45. 100% | 12.0 MiB/s | 36.7 KiB | 00m00s [153/189] libffi-0:3.5.2-3.fc45.x86_64 100% | 4.5 MiB/s | 41.9 KiB | 00m00s [154/189] cyrus-sasl-lib-0:2.1.28-37.fc 100% | 49.9 MiB/s | 817.8 KiB | 00m00s [155/189] gdbm-libs-1:1.23-12.fc45.x86_ 100% | 4.1 MiB/s | 58.2 KiB | 00m00s [156/189] alternatives-0:1.33-6.fc45.x8 100% | 9.6 MiB/s | 39.4 KiB | 00m00s [157/189] pkgconf-pkg-config-0:2.5.1-2. 100% | 1.9 MiB/s | 9.5 KiB | 00m00s [158/189] jansson-0:2.14-5.fc45.x86_64 100% | 9.2 MiB/s | 46.9 KiB | 00m00s [159/189] pkgconf-m4-0:2.5.1-2.fc45.noa 100% | 3.4 MiB/s | 13.8 KiB | 00m00s [160/189] pkgconf-0:2.5.1-2.fc45.x86_64 100% | 9.6 MiB/s | 49.0 KiB | 00m00s [161/189] libpkgconf-0:2.5.1-2.fc45.x86 100% | 8.3 MiB/s | 42.6 KiB | 00m00s [162/189] p11-kit-trust-0:0.26.5-1.fc45 100% | 20.4 MiB/s | 146.3 KiB | 00m00s [163/189] fedora-release-0:45-13.noarch 100% | 1.5 MiB/s | 11.9 KiB | 00m00s [164/189] systemd-standalone-sysusers-0 100% | 52.9 MiB/s | 433.4 KiB | 00m00s [165/189] xxhash-libs-0:0.8.4-1.fc45.x8 100% | 6.7 MiB/s | 41.3 KiB | 00m00s [166/189] binutils-0:2.47-1.fc45.x86_64 100% | 132.8 MiB/s | 6.2 MiB | 00m00s [167/189] fedora-release-identity-basic 100% | 1.5 MiB/s | 12.6 KiB | 00m00s [168/189] libcurl-0:8.21.0-6.fc45.x86_6 100% | 21.4 MiB/s | 482.2 KiB | 00m00s [169/189] krb5-libs-0:1.22.2-9.fc45.x86 100% | 23.8 MiB/s | 803.1 KiB | 00m00s [170/189] libbrotli-0:1.2.0-6.fc45.x86_ 100% | 16.2 MiB/s | 347.3 KiB | 00m00s [171/189] libnghttp2-0:1.69.0-6.fc45.x8 100% | 8.4 MiB/s | 77.2 KiB | 00m00s [172/189] gdb-minimal-0:17.2-6.fc45.x86 100% | 69.7 MiB/s | 4.7 MiB | 00m00s [173/189] libnghttp3-0:1.18.0-1.fc45.x8 100% | 10.5 MiB/s | 75.1 KiB | 00m00s [174/189] libpsl-0:0.23.1-1.fc45.x86_64 100% | 11.0 MiB/s | 67.6 KiB | 00m00s [175/189] ngtcp2-0:1.22.1-3.fc45.x86_64 100% | 38.5 MiB/s | 157.7 KiB | 00m00s [176/189] ngtcp2-crypto-ossl-0:1.22.1-3 100% | 6.8 MiB/s | 27.8 KiB | 00m00s [177/189] libssh-0:0.12.2-1.fc45.x86_64 100% | 57.8 MiB/s | 295.9 KiB | 00m00s [178/189] keyutils-libs-0:1.6.3-8.fc45. 100% | 3.8 MiB/s | 31.5 KiB | 00m00s [179/189] libcom_err-0:1.47.4-2.fc45.x8 100% | 3.2 MiB/s | 26.6 KiB | 00m00s [180/189] libverto-0:0.3.2-13.fc45.x86_ 100% | 2.9 MiB/s | 21.0 KiB | 00m00s [181/189] libssh-config-0:0.12.2-1.fc45 100% | 2.9 MiB/s | 8.9 KiB | 00m00s [182/189] publicsuffix-list-dafsa-0:202 100% | 14.9 MiB/s | 61.1 KiB | 00m00s [183/189] libfido2-0:1.17.0-5.fc45.x86_ 100% | 20.9 MiB/s | 106.9 KiB | 00m00s [184/189] libcbor-0:0.14.0-3.fc45.x86_6 100% | 7.2 MiB/s | 36.8 KiB | 00m00s [185/189] policycoreutils-0:3.11-2.fc45 100% | 51.0 MiB/s | 260.9 KiB | 00m00s [186/189] selinux-policy-0:45.20-1.fc45 100% | 13.6 MiB/s | 41.6 KiB | 00m00s [187/189] libselinux-utils-0:3.11-5.fc4 100% | 24.1 MiB/s | 123.6 KiB | 00m00s [188/189] rpm-plugin-selinux-0:6.1.0-1. 100% | 4.3 MiB/s | 17.8 KiB | 00m00s [189/189] selinux-policy-targeted-0:45. 100% | 29.5 MiB/s | 6.8 MiB | 00m00s -------------------------------------------------------------------------------- [189/189] Total 100% | 96.4 MiB/s | 72.2 MiB | 00m01s Running transaction Importing OpenPGP key 0xF577861E: UserID : "Fedora (45) " Fingerprint: 4F50A6114CD5C6976A7F1179655A4B02F577861E From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-45-primary The key was successfully imported. [ 1/191] Verify package files 100% | 647.0 B/s | 189.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> Finished %pretrans scriptlet: filesystem-0:3.18-59.fc45.x86_64 >>> [RPM] failed to open /var/lib/mock/fedora-45-x86_64-1792804413.190438/root/etc/group for id/name lookup: No such file or directory [ 2/191] Prepare transaction 100% | 3.2 KiB/s | 189.0 B | 00m00s [ 3/191] Installing libgcc-0:16.2.1-2. 100% | 266.0 MiB/s | 272.4 KiB | 00m00s [ 4/191] Installing redhat-systemd-pre 100% | 0.0 B/s | 1.5 KiB | 00m00s [ 5/191] Installing redhat-systemd-pre 100% | 0.0 B/s | 18.1 KiB | 00m00s [ 6/191] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 7/191] Installing publicsuffix-list- 100% | 0.0 B/s | 72.0 KiB | 00m00s [ 8/191] Installing fedora-release-ide 100% | 0.0 B/s | 888.0 B | 00m00s [ 9/191] Installing fedora-gpg-keys-0: 100% | 44.4 MiB/s | 181.7 KiB | 00m00s [ 10/191] Installing fedora-repos-0:45- 100% | 0.0 B/s | 5.9 KiB | 00m00s [ 11/191] Installing fedora-release-com 100% | 7.2 MiB/s | 7.4 KiB | 00m00s [ 12/191] Installing fedora-release-0:4 100% | 17.3 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Finished sysusers scriptlet: setup-0:2.15.1-2.fc45.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 13/191] Installing setup-0:2.15.1-2.f 100% | 37.6 MiB/s | 731.3 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 14/191] Installing filesystem-0:3.18- 100% | 2.5 MiB/s | 253.6 KiB | 00m00s [ 15/191] Installing pkgconf-m4-0:2.5.1 100% | 0.0 B/s | 14.7 KiB | 00m00s [ 16/191] Installing pcre2-syntax-0:10. 100% | 277.7 MiB/s | 284.3 KiB | 00m00s [ 17/191] Installing gnulib-l10n-0:2024 100% | 215.5 MiB/s | 661.9 KiB | 00m00s [ 18/191] Installing coreutils-common-0 100% | 365.2 MiB/s | 11.0 MiB | 00m00s [ 19/191] Installing ncurses-base-0:6.6 100% | 86.7 MiB/s | 355.3 KiB | 00m00s [ 20/191] Installing bash-0:5.3.15-2.fc 100% | 229.0 MiB/s | 8.5 MiB | 00m00s [ 21/191] Installing glibc-common-0:2.4 100% | 46.8 MiB/s | 1.0 MiB | 00m00s [ 22/191] Installing glibc-gconv-extra- 100% | 299.4 MiB/s | 7.8 MiB | 00m00s [ 23/191] Installing glibc-0:2.44-1.fc4 100% | 162.3 MiB/s | 7.1 MiB | 00m00s [ 24/191] Installing ncurses-libs-0:6.6 100% | 238.0 MiB/s | 974.9 KiB | 00m00s [ 25/191] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 26/191] Installing zlib-ng-compat-0:2 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [ 27/191] Installing bzip2-libs-0:1.0.8 100% | 79.7 MiB/s | 81.6 KiB | 00m00s [ 28/191] Installing libgpg-error-0:1.6 100% | 44.6 MiB/s | 959.7 KiB | 00m00s [ 29/191] Installing libstdc++-0:16.2.1 100% | 385.8 MiB/s | 3.1 MiB | 00m00s [ 30/191] Installing readline-0:8.3-6.f 100% | 252.8 MiB/s | 517.7 KiB | 00m00s [ 31/191] Installing libzstd-0:1.5.7-6. 100% | 311.7 MiB/s | 957.4 KiB | 00m00s [ 32/191] Installing elfutils-libelf-0: 100% | 481.0 MiB/s | 1.4 MiB | 00m00s [ 33/191] Installing libassuan-0:2.5.7- 100% | 161.8 MiB/s | 165.7 KiB | 00m00s [ 34/191] Installing libgcrypt-0:1.12.2 100% | 332.5 MiB/s | 1.7 MiB | 00m00s [ 35/191] Installing gmp-1:6.3.0-6.fc45 100% | 399.1 MiB/s | 817.4 KiB | 00m00s [ 36/191] Installing libacl-0:2.4.0-2.f 100% | 0.0 B/s | 44.7 KiB | 00m00s [ 37/191] Installing systemd-libs-0:262 100% | 346.3 MiB/s | 2.8 MiB | 00m00s [ 38/191] Installing libuuid-0:2.42.4-1 100% | 0.0 B/s | 38.2 KiB | 00m00s [ 39/191] Installing popt-0:1.19-11.fc4 100% | 70.0 MiB/s | 143.3 KiB | 00m00s [ 40/191] Installing xz-libs-1:5.8.3-2. 100% | 217.6 MiB/s | 222.8 KiB | 00m00s [ 41/191] Installing sqlite-libs-0:3.53 100% | 323.8 MiB/s | 1.6 MiB | 00m00s [ 42/191] Installing npth-0:1.8-5.fc45. 100% | 0.0 B/s | 50.6 KiB | 00m00s [ 43/191] Installing elfutils-libs-0:0. 100% | 352.3 MiB/s | 721.4 KiB | 00m00s [ 44/191] Installing libblkid-0:2.42.4- 100% | 276.6 MiB/s | 283.3 KiB | 00m00s [ 45/191] Installing libsepol-0:3.11-2. 100% | 282.3 MiB/s | 867.1 KiB | 00m00s [ 46/191] Installing gnupg2-gpgconf-0:2 100% | 13.2 MiB/s | 255.9 KiB | 00m00s [ 47/191] Installing pcre2-0:10.47-1.fc 100% | 351.5 MiB/s | 720.0 KiB | 00m00s [ 48/191] Installing libselinux-0:3.11- 100% | 201.6 MiB/s | 206.5 KiB | 00m00s [ 49/191] Installing grep-0:3.12-4.fc45 100% | 47.7 MiB/s | 1.0 MiB | 00m00s [ 50/191] Installing sed-0:4.10-2.fc45. 100% | 40.7 MiB/s | 874.9 KiB | 00m00s [ 51/191] Installing findutils-1:4.11.0 100% | 85.1 MiB/s | 2.0 MiB | 00m00s [ 52/191] Installing libxcrypt-0:4.5.2- 100% | 144.5 MiB/s | 295.9 KiB | 00m00s [ 53/191] Installing json-c-0:0.18-9.fc 100% | 82.0 MiB/s | 83.9 KiB | 00m00s [ 54/191] Installing libtasn1-0:4.21.0- 100% | 174.3 MiB/s | 178.5 KiB | 00m00s [ 55/191] Installing libunistring-0:1.1 100% | 346.9 MiB/s | 1.7 MiB | 00m00s [ 56/191] Installing libidn2-0:2.3.8-4. 100% | 61.0 MiB/s | 562.6 KiB | 00m00s [ 57/191] Installing crypto-policies-0: 100% | 38.9 MiB/s | 159.5 KiB | 00m00s [ 58/191] Installing xz-1:5.8.3-2.fc45. 100% | 58.5 MiB/s | 1.4 MiB | 00m00s [ 59/191] Installing libmount-0:2.42.4- 100% | 200.1 MiB/s | 409.9 KiB | 00m00s [ 60/191] Installing gnupg2-verify-0:2. 100% | 19.4 MiB/s | 357.7 KiB | 00m00s [ 61/191] Installing mpfr-0:4.2.2-4.fc4 100% | 277.0 MiB/s | 850.9 KiB | 00m00s [ 62/191] Installing gawk-0:5.4.1-1.fc4 100% | 92.8 MiB/s | 2.2 MiB | 00m00s [ 63/191] Installing dwz-0:0.17-3.fc45. 100% | 15.9 MiB/s | 292.5 KiB | 00m00s [ 64/191] Installing libksba-0:1.8.0-3. 100% | 211.8 MiB/s | 433.7 KiB | 00m00s [ 65/191] Installing unzip-0:6.0-71.fc4 100% | 24.2 MiB/s | 445.3 KiB | 00m00s [ 66/191] Installing file-libs-0:5.48-3 100% | 649.7 MiB/s | 12.3 MiB | 00m00s [ 67/191] Installing file-0:5.48-3.fc45 100% | 5.6 MiB/s | 103.4 KiB | 00m00s [ 68/191] Installing diffutils-0:3.12-6 100% | 74.5 MiB/s | 1.6 MiB | 00m00s [ 69/191] Installing libattr-0:2.6.0-2. 100% | 24.7 MiB/s | 25.2 KiB | 00m00s [ 70/191] Installing libeconf-0:0.7.9-4 100% | 64.9 MiB/s | 66.4 KiB | 00m00s [ 71/191] Installing libcap-ng-0:0.9.6- 100% | 69.0 MiB/s | 70.6 KiB | 00m00s [ 72/191] Installing audit-libs-0:4.2.1 100% | 191.9 MiB/s | 393.1 KiB | 00m00s [ 73/191] Installing pam-libs-0:1.7.2-4 100% | 133.7 MiB/s | 136.9 KiB | 00m00s [ 74/191] Installing libcap-0:2.78-2.fc 100% | 11.6 MiB/s | 213.3 KiB | 00m00s [ 75/191] Installing libsemanage-0:3.11 100% | 157.4 MiB/s | 322.4 KiB | 00m00s [ 76/191] Installing libsmartcols-0:2.4 100% | 185.0 MiB/s | 189.5 KiB | 00m00s [ 77/191] Installing lua-libs-0:5.5.1-2 100% | 292.4 MiB/s | 299.5 KiB | 00m00s [ 78/191] Installing libffi-0:3.5.2-3.f 100% | 83.1 MiB/s | 85.1 KiB | 00m00s [ 79/191] Installing p11-kit-0:0.26.5-1 100% | 101.3 MiB/s | 2.6 MiB | 00m00s [ 80/191] Installing alternatives-0:1.3 100% | 3.7 MiB/s | 63.6 KiB | 00m00s [ 81/191] Installing p11-kit-trust-0:0. 100% | 18.0 MiB/s | 480.1 KiB | 00m00s [ 82/191] Installing ngtcp2-0:1.22.1-3. 100% | 164.0 MiB/s | 335.8 KiB | 00m00s [ 83/191] Installing util-linux-core-0: 100% | 63.0 MiB/s | 1.5 MiB | 00m00s [ 84/191] Installing liblastlog2-0:2.42 100% | 5.5 MiB/s | 39.7 KiB | 00m00s [ 85/191] Installing zip-0:3.0-46.fc45. 100% | 32.5 MiB/s | 698.0 KiB | 00m00s [ 86/191] Installing gnupg2-keyboxd-0:2 100% | 28.3 MiB/s | 202.5 KiB | 00m00s [ 87/191] Installing libpsl-0:0.23.1-1. 100% | 79.6 MiB/s | 81.5 KiB | 00m00s [ 88/191] Installing tar-2:1.35-10.fc45 100% | 110.3 MiB/s | 3.0 MiB | 00m00s [ 89/191] Installing linkdupes-0:0.7.3- 100% | 40.3 MiB/s | 783.5 KiB | 00m00s [ 90/191] Installing libselinux-utils-0 100% | 15.6 MiB/s | 320.3 KiB | 00m00s [ 91/191] Installing libfdisk-0:2.42.4- 100% | 192.0 MiB/s | 393.2 KiB | 00m00s [ 92/191] Installing fips-provider-0:1. 100% | 401.7 MiB/s | 4.8 MiB | 00m00s [ 93/191] Installing openssl-libs-1:4.0 100% | 352.6 MiB/s | 6.7 MiB | 00m00s [ 94/191] Installing coreutils-0:9.11-6 100% | 148.1 MiB/s | 5.9 MiB | 00m00s [ 95/191] Installing ca-certificates-0: 100% | 2.2 MiB/s | 2.5 MiB | 00m01s [ 96/191] Installing gzip-0:1.14-4.fc45 100% | 18.9 MiB/s | 407.2 KiB | 00m00s [ 97/191] Installing util-linux-0:2.42. 100% | 83.5 MiB/s | 3.8 MiB | 00m00s [ 98/191] Installing policycoreutils-0: 100% | 27.3 MiB/s | 921.4 KiB | 00m00s [ 99/191] Installing selinux-policy-0:4 100% | 1.5 MiB/s | 34.5 KiB | 00m00s [100/191] Installing selinux-policy-tar 100% | 199.3 MiB/s | 15.2 MiB | 00m00s [101/191] Installing rpm-sequoia-0:1.10 100% | 304.4 MiB/s | 2.4 MiB | 00m00s [102/191] Installing libfsverity-0:1.7- 100% | 0.0 B/s | 25.4 KiB | 00m00s [103/191] Installing libevent-0:2.1.13- 100% | 320.5 MiB/s | 984.5 KiB | 00m00s [104/191] Installing ngtcp2-crypto-ossl 100% | 0.0 B/s | 52.5 KiB | 00m00s [105/191] Installing libusb1-0:1.0.30-2 100% | 12.7 MiB/s | 181.8 KiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Finished sysusers scriptlet: tpm2-tss-0:4.2.0-1.fc45.x86_64 >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [106/191] Installing tpm2-tss-0:4.2.0-1 100% | 277.9 MiB/s | 1.7 MiB | 00m00s [107/191] Installing ima-evm-utils-libs 100% | 56.5 MiB/s | 57.9 KiB | 00m00s [108/191] Installing gnupg2-gpg-agent-0 100% | 23.8 MiB/s | 682.8 KiB | 00m00s [109/191] Installing nettle-0:4.0-5.fc4 100% | 262.0 MiB/s | 805.0 KiB | 00m00s [110/191] Installing gnutls-0:3.8.13-3. 100% | 348.9 MiB/s | 3.8 MiB | 00m00s [111/191] Installing zstd-0:1.5.7-6.fc4 100% | 24.7 MiB/s | 506.1 KiB | 00m00s [112/191] Installing libxml2-0:2.15.4-1 100% | 71.9 MiB/s | 1.7 MiB | 00m00s [113/191] Installing bzip2-0:1.0.8-24.f 100% | 5.4 MiB/s | 99.5 KiB | 00m00s [114/191] Installing add-determinism-0: 100% | 93.9 MiB/s | 2.2 MiB | 00m00s [115/191] Installing build-reproducibil 100% | 0.0 B/s | 1.5 KiB | 00m00s [116/191] Installing cpio-0:2.15-10.fc4 100% | 52.5 MiB/s | 1.1 MiB | 00m00s [117/191] Installing ed-0:1.22.6-1.fc45 100% | 8.3 MiB/s | 153.2 KiB | 00m00s [118/191] Installing patch-0:2.8-6.fc45 100% | 12.4 MiB/s | 228.1 KiB | 00m00s [119/191] Installing libpfm-0:4.13.0-23 100% | 432.1 MiB/s | 1.7 MiB | 00m00s [120/191] Installing lz4-libs-0:1.10.0- 100% | 162.5 MiB/s | 166.4 KiB | 00m00s [121/191] Installing libarchive-0:3.8.9 100% | 327.4 MiB/s | 1.0 MiB | 00m00s [122/191] Installing libgomp-0:16.2.1-2 100% | 282.7 MiB/s | 578.9 KiB | 00m00s [123/191] Installing libtool-ltdl-0:2.5 100% | 69.5 MiB/s | 71.1 KiB | 00m00s [124/191] Installing gdbm-libs-1:1.23-1 100% | 132.2 MiB/s | 135.4 KiB | 00m00s [125/191] Installing cyrus-sasl-lib-0:2 100% | 97.4 MiB/s | 2.3 MiB | 00m00s [126/191] Installing openldap-0:2.6.14- 100% | 222.2 MiB/s | 682.7 KiB | 00m00s [127/191] Installing gnupg2-dirmngr-0:2 100% | 22.9 MiB/s | 632.8 KiB | 00m00s [128/191] Installing gnupg2-0:2.4.9-18. 100% | 180.6 MiB/s | 6.5 MiB | 00m00s [129/191] Installing gpgverify-0:2.2-5. 100% | 9.2 MiB/s | 9.4 KiB | 00m00s [130/191] Installing jansson-0:2.14-5.f 100% | 88.2 MiB/s | 90.3 KiB | 00m00s [131/191] Installing libpkgconf-0:2.5.1 100% | 89.1 MiB/s | 91.3 KiB | 00m00s [132/191] Installing pkgconf-0:2.5.1-2. 100% | 5.2 MiB/s | 95.2 KiB | 00m00s [133/191] Installing pkgconf-pkg-config 100% | 98.5 KiB/s | 1.8 KiB | 00m00s [134/191] Installing systemd-standalone 100% | 47.9 MiB/s | 981.8 KiB | 00m00s [135/191] Installing rpm-libs-0:6.1.0-1 100% | 274.8 MiB/s | 1.1 MiB | 00m00s [136/191] Installing rpm-sign-libs-0:6. 100% | 0.0 B/s | 40.5 KiB | 00m00s [137/191] Installing rpm-build-libs-0:6 100% | 282.4 MiB/s | 289.1 KiB | 00m00s [138/191] Installing xxhash-libs-0:0.8. 100% | 93.1 MiB/s | 95.4 KiB | 00m00s [139/191] Installing libbrotli-0:1.2.0- 100% | 282.3 MiB/s | 867.3 KiB | 00m00s [140/191] Installing libnghttp2-0:1.69. 100% | 163.3 MiB/s | 167.3 KiB | 00m00s [141/191] Installing libnghttp3-0:1.18. 100% | 161.0 MiB/s | 164.8 KiB | 00m00s [142/191] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [143/191] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 64.1 KiB | 00m00s [144/191] Installing libverto-0:0.3.2-1 100% | 26.4 MiB/s | 27.1 KiB | 00m00s [145/191] Installing krb5-libs-0:1.22.2 100% | 298.4 MiB/s | 2.4 MiB | 00m00s [146/191] Installing libcbor-0:0.14.0-3 100% | 82.9 MiB/s | 84.9 KiB | 00m00s [147/191] Installing libfido2-0:1.17.0- 100% | 252.0 MiB/s | 258.1 KiB | 00m00s [148/191] Installing libssh-0:0.12.2-1. 100% | 236.9 MiB/s | 727.8 KiB | 00m00s [149/191] Installing libcurl-0:8.21.0-6 100% | 352.7 MiB/s | 1.1 MiB | 00m00s [150/191] Installing elfutils-debuginfo 100% | 4.2 MiB/s | 82.2 KiB | 00m00s [151/191] Installing elfutils-0:0.196-1 100% | 117.8 MiB/s | 3.1 MiB | 00m00s [152/191] Installing binutils-0:2.47-1. 100% | 302.1 MiB/s | 28.4 MiB | 00m00s [153/191] Installing gdb-minimal-0:17.2 100% | 244.2 MiB/s | 14.2 MiB | 00m00s [154/191] Installing debugedit-0:5.3-3. 100% | 11.5 MiB/s | 224.1 KiB | 00m00s [155/191] Installing curl-0:8.21.0-6.fc 100% | 17.1 MiB/s | 490.6 KiB | 00m00s [156/191] Installing rpm-0:6.1.0-1.fc45 100% | 65.9 MiB/s | 2.5 MiB | 00m00s [157/191] Installing cmake-srpm-macros- 100% | 0.0 B/s | 804.0 B | 00m00s [158/191] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.3 KiB | 00m00s [159/191] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [160/191] Installing lua-srpm-macros-0: 100% | 380.5 KiB/s | 1.9 KiB | 00m00s [161/191] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.6 KiB | 00m00s [162/191] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [163/191] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [164/191] Installing rust-srpm-macros-0 100% | 0.0 B/s | 6.4 KiB | 00m00s [165/191] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 748.0 B | 00m00s [166/191] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [167/191] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [168/191] Installing package-notes-srpm 100% | 0.0 B/s | 2.1 KiB | 00m00s [169/191] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [170/191] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [171/191] Installing meson-srpm-macros- 100% | 0.0 B/s | 1.9 KiB | 00m00s [172/191] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [173/191] Installing gnome-srpm-macros- 100% | 0.0 B/s | 4.1 KiB | 00m00s [174/191] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [175/191] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [176/191] Installing gap-srpm-macros-0: 100% | 0.0 B/s | 2.7 KiB | 00m00s [177/191] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [178/191] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [179/191] Installing redhat-rpm-config- 100% | 93.0 MiB/s | 190.4 KiB | 00m00s [180/191] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [181/191] Installing rpm-build-0:6.1.0- 100% | 15.7 MiB/s | 322.1 KiB | 00m00s [182/191] Installing erlang-srpm-macros 100% | 0.0 B/s | 2.5 KiB | 00m00s [183/191] Installing pyproject-srpm-mac 100% | 0.0 B/s | 4.0 KiB | 00m00s [184/191] Installing fonts-srpm-macros- 100% | 0.0 B/s | 57.0 KiB | 00m00s [185/191] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 63.0 KiB | 00m00s [186/191] Installing R-srpm-macros-0:1. 100% | 0.0 B/s | 4.4 KiB | 00m00s [187/191] Installing python-srpm-macros 100% | 0.0 B/s | 52.9 KiB | 00m00s [188/191] Installing rpm-plugin-selinux 100% | 0.0 B/s | 12.9 KiB | 00m00s [189/191] Installing which-0:2.25-2.fc4 100% | 4.4 MiB/s | 85.8 KiB | 00m00s [190/191] Installing shadow-utils-2:4.2 100% | 116.0 MiB/s | 3.9 MiB | 00m00s [191/191] Installing info-0:7.3-3.fc45. 100% | 51.2 KiB/s | 372.8 KiB | 00m07s Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: R-srpm-macros-1.3.7-3.fc45.noarch add-determinism-0.7.3-3.fc45.x86_64 alternatives-1.33-6.fc45.x86_64 ansible-srpm-macros-1-22.fc45.noarch audit-libs-4.2.1-2.fc45.x86_64 bash-5.3.15-2.fc45.x86_64 binutils-2.47-1.fc45.x86_64 build-reproducibility-srpm-macros-0.7.3-3.fc45.noarch bzip2-1.0.8-24.fc45.x86_64 bzip2-libs-1.0.8-24.fc45.x86_64 ca-certificates-2026.2.92_v9.0.319-2.fc45.noarch cmake-srpm-macros-4.3.0-5.fc45.noarch coreutils-9.11-6.fc45.x86_64 coreutils-common-9.11-6.fc45.x86_64 cpio-2.15-10.fc45.x86_64 crypto-policies-20260713-2.gitc42da77.fc45.noarch curl-8.21.0-6.fc45.x86_64 cyrus-sasl-lib-2.1.28-37.fc45.x86_64 debugedit-5.3-3.fc45.x86_64 diffutils-3.12-6.fc45.x86_64 dwz-0.17-3.fc45.x86_64 ed-1.22.6-1.fc45.x86_64 efi-srpm-macros-6-9.fc45.noarch elfutils-0.196-1.fc45.x86_64 elfutils-debuginfod-client-0.196-1.fc45.x86_64 elfutils-libelf-0.196-1.fc45.x86_64 elfutils-libs-0.196-1.fc45.x86_64 erlang-srpm-macros-0.3.11-2.fc45.noarch fedora-gpg-keys-45-1.noarch fedora-release-45-13.noarch fedora-release-common-45-13.noarch fedora-release-identity-basic-45-13.noarch fedora-repos-45-1.noarch file-5.48-3.fc45.x86_64 file-libs-5.48-3.fc45.x86_64 filesystem-3.18-59.fc45.x86_64 filesystem-srpm-macros-3.18-59.fc45.noarch findutils-4.11.0-2.fc45.x86_64 fips-provider-1.5.2-3.fc45.x86_64 fonts-srpm-macros-5.0.0-4.fc45.noarch forge-srpm-macros-0.4.0-5.fc45.noarch fpc-srpm-macros-1.3-17.fc45.noarch gap-srpm-macros-2-3.fc45.noarch gawk-5.4.1-1.fc45.x86_64 gdb-minimal-17.2-6.fc45.x86_64 gdbm-libs-1.23-12.fc45.x86_64 ghc-srpm-macros-1.10-2.fc45.noarch glibc-2.44-1.fc45.x86_64 glibc-common-2.44-1.fc45.x86_64 glibc-gconv-extra-2.44-1.fc45.x86_64 glibc-minimal-langpack-2.44-1.fc45.x86_64 gmp-6.3.0-6.fc45.x86_64 gnat-srpm-macros-7-3.fc45.noarch gnome-srpm-macros-1.0-2.fc45.noarch gnulib-l10n-20241231-4.fc45.noarch gnupg2-2.4.9-18.fc45.x86_64 gnupg2-dirmngr-2.4.9-18.fc45.x86_64 gnupg2-gpg-agent-2.4.9-18.fc45.x86_64 gnupg2-gpgconf-2.4.9-18.fc45.x86_64 gnupg2-keyboxd-2.4.9-18.fc45.x86_64 gnupg2-verify-2.4.9-18.fc45.x86_64 gnutls-3.8.13-3.fc45.x86_64 go-srpm-macros-3.8.0-3.fc45.noarch gpg-pubkey-4f50a6114cd5c6976a7f1179655a4b02f577861e-6888bc98 gpgverify-2.2-5.fc45.noarch grep-3.12-4.fc45.x86_64 gzip-1.14-4.fc45.x86_64 ima-evm-utils-libs-1.6.2-12.fc45.x86_64 info-7.3-3.fc45.x86_64 jansson-2.14-5.fc45.x86_64 java-srpm-macros-1-9.fc45.noarch json-c-0.18-9.fc45.x86_64 kernel-srpm-macros-1.0-30.fc45.noarch keyutils-libs-1.6.3-8.fc45.x86_64 krb5-libs-1.22.2-9.fc45.x86_64 libacl-2.4.0-2.fc45.x86_64 libarchive-3.8.9-2.fc45.x86_64 libassuan-2.5.7-6.fc45.x86_64 libattr-2.6.0-2.fc45.x86_64 libblkid-2.42.4-1.fc45.x86_64 libbrotli-1.2.0-6.fc45.x86_64 libcap-2.78-2.fc45.x86_64 libcap-ng-0.9.6-1.fc45.x86_64 libcbor-0.14.0-3.fc45.x86_64 libcom_err-1.47.4-2.fc45.x86_64 libcurl-8.21.0-6.fc45.x86_64 libeconf-0.7.9-4.fc45.x86_64 libevent-2.1.13-1.fc45.x86_64 libfdisk-2.42.4-1.fc45.x86_64 libffi-3.5.2-3.fc45.x86_64 libfido2-1.17.0-5.fc45.x86_64 libfsverity-1.7-4.fc45.x86_64 libgcc-16.2.1-2.fc45.1.x86_64 libgcrypt-1.12.2-2.fc45.x86_64 libgomp-16.2.1-2.fc45.1.x86_64 libgpg-error-1.61-2.fc45.x86_64 libidn2-2.3.8-4.fc45.x86_64 libksba-1.8.0-3.fc45.x86_64 liblastlog2-2.42.4-1.fc45.x86_64 libmount-2.42.4-1.fc45.x86_64 libnghttp2-1.69.0-6.fc45.x86_64 libnghttp3-1.18.0-1.fc45.x86_64 libpfm-4.13.0-23.fc45.x86_64 libpkgconf-2.5.1-2.fc45.x86_64 libpsl-0.23.1-1.fc45.x86_64 libselinux-3.11-5.fc45.x86_64 libselinux-utils-3.11-5.fc45.x86_64 libsemanage-3.11-4.fc45.x86_64 libsepol-3.11-2.fc45.x86_64 libsmartcols-2.42.4-1.fc45.x86_64 libssh-0.12.2-1.fc45.x86_64 libssh-config-0.12.2-1.fc45.noarch libstdc++-16.2.1-2.fc45.1.x86_64 libtasn1-4.21.0-2.fc45.x86_64 libtool-ltdl-2.5.4-11.fc45.x86_64 libunistring-1.1-12.fc45.x86_64 libusb1-1.0.30-2.fc45.x86_64 libuuid-2.42.4-1.fc45.x86_64 libverto-0.3.2-13.fc45.x86_64 libxcrypt-4.5.2-4.fc45.x86_64 libxml2-2.15.4-1.fc45.x86_64 libzstd-1.5.7-6.fc45.x86_64 linkdupes-0.7.3-3.fc45.x86_64 lua-libs-5.5.1-2.fc45.x86_64 lua-srpm-macros-1-18.fc45.noarch lz4-libs-1.10.0-5.fc45.x86_64 meson-srpm-macros-1.12.1-1.fc45.noarch mpfr-4.2.2-4.fc45.x86_64 ncurses-base-6.6-3.fc45.noarch ncurses-libs-6.6-3.fc45.x86_64 nettle-4.0-5.fc45.x86_64 ngtcp2-1.22.1-3.fc45.x86_64 ngtcp2-crypto-ossl-1.22.1-3.fc45.x86_64 npth-1.8-5.fc45.x86_64 ocaml-srpm-macros-11-4.fc45.noarch openblas-srpm-macros-2-22.fc45.noarch openldap-2.6.14-1.fc45.x86_64 openssl-libs-4.0.3-1.fc45.x86_64 p11-kit-0.26.5-1.fc45.x86_64 p11-kit-trust-0.26.5-1.fc45.x86_64 package-notes-srpm-macros-0.20-2.fc45.noarch pam-libs-1.7.2-4.fc45.x86_64 patch-2.8-6.fc45.x86_64 pcre2-10.47-1.fc45.2.x86_64 pcre2-syntax-10.47-1.fc45.2.noarch perl-srpm-macros-1-65.fc45.noarch pkgconf-2.5.1-2.fc45.x86_64 pkgconf-m4-2.5.1-2.fc45.noarch pkgconf-pkg-config-2.5.1-2.fc45.x86_64 policycoreutils-3.11-2.fc45.x86_64 popt-1.19-11.fc45.x86_64 publicsuffix-list-dafsa-20260624-2.fc45.noarch pyproject-srpm-macros-1.23.2-1.fc45.noarch python-srpm-macros-3.15-2.fc45.noarch qt5-srpm-macros-5.15.18-3.fc45.noarch qt6-srpm-macros-6.11.2-1.fc45.noarch readline-8.3-6.fc45.x86_64 redhat-rpm-config-345-4.fc45.noarch redhat-systemd-presets-102-3.fc45.noarch redhat-systemd-presets-common-102-3.fc45.noarch rpm-6.1.0-1.fc45.x86_64 rpm-build-6.1.0-1.fc45.x86_64 rpm-build-libs-6.1.0-1.fc45.x86_64 rpm-libs-6.1.0-1.fc45.x86_64 rpm-plugin-selinux-6.1.0-1.fc45.x86_64 rpm-sequoia-1.10.3-1.fc45.x86_64 rpm-sign-libs-6.1.0-1.fc45.x86_64 rust-srpm-macros-28.5-2.fc45.noarch sed-4.10-2.fc45.x86_64 selinux-policy-45.20-1.fc45.noarch selinux-policy-targeted-45.20-1.fc45.noarch setup-2.15.1-2.fc45.noarch shadow-utils-4.20.0-2.fc45.x86_64 sqlite-libs-3.53.4-1.fc45.x86_64 systemd-libs-262-3.fc45.x86_64 systemd-standalone-sysusers-262-3.fc45.x86_64 tar-1.35-10.fc45.x86_64 tpm2-tss-4.2.0-1.fc45.x86_64 tree-sitter-srpm-macros-0.4.6-2.fc45.noarch unzip-6.0-71.fc45.x86_64 util-linux-2.42.4-1.fc45.x86_64 util-linux-core-2.42.4-1.fc45.x86_64 which-2.25-2.fc45.x86_64 xxhash-libs-0.8.4-1.fc45.x86_64 xz-5.8.3-2.fc45.x86_64 xz-libs-5.8.3-2.fc45.x86_64 zig-srpm-macros-1-9.fc45.noarch zip-3.0-46.fc45.x86_64 zlib-ng-compat-2.3.3-6.fc45.x86_64 zstd-1.5.7-6.fc45.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1792713600 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-1.fc45.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-45-x86_64-1792804413.190438/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-etp4hvys/libroadrunner/libroadrunner.spec) Config(child) 0 minutes 42 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/libroadrunner-2.11.0-1.fc45.src.rpm) Config(fedora-45-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-45-x86_64-bootstrap-1792804413.190438/root. INFO: reusing tmpfs at /var/lib/mock/fedora-45-x86_64-bootstrap-1792804413.190438/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-45-x86_64-1792804413.190438/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-6.1.0-1.fc45.x86_64 rpm-sequoia-1.10.3-1.fc45.x86_64 dnf5-5.4.6.0-3.fc45.x86_64 dnf5-plugins-5.4.6.0-3.fc45.x86_64 Finish: chroot init Start: build phase for libroadrunner-2.11.0-1.fc45.src.rpm Start: build setup for libroadrunner-2.11.0-1.fc45.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1792713600 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-1.fc45.src.rpm Updating and loading repositories: updates 100% | 70.0 KiB/s | 23.2 KiB | 00m00s fedora 100% | 61.7 KiB/s | 20.2 KiB | 00m00s Additional repo copr_mhough_neurofedor 100% | 5.5 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 5.6 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: blas-devel x86_64 0:3.12.0-12.fc45 fedora 131.9 KiB chrpath x86_64 0:0.16-29.fc45 fedora 58.3 KiB cmake x86_64 0:4.3.0-5.fc45 fedora 40.4 MiB expat-devel x86_64 0:2.8.3-1.fc45 fedora 236.0 KiB f2c x86_64 0:20210928-14.fc45 fedora 687.9 KiB gcc-c++ x86_64 0:16.2.1-2.fc45.1 fedora 46.8 MiB lapack-devel x86_64 0:3.12.0-12.fc45 fedora 1.6 MiB libsbml-devel x86_64 0:5.20.5-18.fc45 fedora 384.0 MiB llvm14-devel x86_64 0:14.0.5-15.fc45 fedora 20.9 MiB ncurses-devel x86_64 0:6.6-3.fc45 fedora 895.6 KiB ninja-build x86_64 0:1.13.2-6.fc45 fedora 497.5 KiB poco-devel x86_64 0:1.14.1-3.fc44 fedora 6.4 MiB python3-devel x86_64 0:3.15.0-1.fc45 fedora 2.5 MiB python3-libsbml x86_64 0:5.20.5-18.fc45 fedora 33.5 MiB python3-numpy x86_64 1:2.5.3-1.fc45 fedora 43.0 MiB python3-pytest noarch 0:9.1.1-1.fc45 fedora 24.3 MiB rr-libstruct-devel x86_64 0:2.9.2-0.4.git7ff1f47.fc45 copr_base 184.7 KiB sbml-test-corpus noarch 0:20260923-1.fc45 copr_base 813.3 KiB sundials-devel x86_64 0:7.9.0-2.fc45 fedora 36.8 MiB swig x86_64 0:4.5.0-1.fc45 fedora 6.3 MiB zlib-ng-compat-static x86_64 0:2.3.3-6.fc45 fedora 2.1 MiB Installing dependencies: SuperLUMT x86_64 0:4.0.2-2.fc45 fedora 447.6 KiB SuperLUMT-common noarch 0:4.0.2-2.fc45 fedora 679.2 KiB annobin-docs noarch 0:13.28-1.fc45 fedora 99.7 KiB annobin-plugin-gcc x86_64 0:13.28-1.fc45 fedora 709.4 KiB blas x86_64 0:3.12.0-12.fc45 fedora 1.4 MiB blas64 x86_64 0:3.12.0-12.fc45 fedora 1.0 MiB blas64_ x86_64 0:3.12.0-12.fc45 fedora 1.0 MiB cmake-data noarch 0:4.3.0-5.fc45 fedora 9.4 MiB cmake-filesystem x86_64 0:4.3.0-5.fc45 fedora 0.0 B cmake-rpm-macros noarch 0:4.3.0-5.fc45 fedora 8.4 KiB cpp x86_64 0:16.2.1-2.fc45.1 fedora 42.6 MiB emacs-filesystem x86_64 1:30.2-3.fc45 fedora 0.0 B expat x86_64 0:2.8.3-1.fc45 fedora 338.4 KiB f2c-libs x86_64 0:20210928-14.fc45 fedora 132.9 KiB flexiblas x86_64 0:3.5.0-3.fc45 fedora 38.0 KiB flexiblas-netlib x86_64 0:3.5.0-3.fc45 fedora 16.3 MiB flexiblas-openblas-openmp x86_64 0:3.5.0-3.fc45 fedora 39.1 KiB gcc x86_64 0:16.2.1-2.fc45.1 fedora 121.8 MiB gcc-gfortran x86_64 0:16.2.1-2.fc45.1 fedora 45.2 MiB gcc-plugin-annobin x86_64 0:16.2.1-2.fc45.1 fedora 57.1 KiB glibc-devel x86_64 0:2.44-1.fc45 fedora 2.3 MiB jsoncpp x86_64 0:1.9.6-3.fc44 fedora 285.6 KiB kernel-headers x86_64 0:7.2.4-300.fc45 fedora 7.0 MiB lapack x86_64 0:3.12.0-12.fc45 fedora 16.4 MiB lapack64 x86_64 0:3.12.0-12.fc45 fedora 9.8 MiB lapack64_ x86_64 0:3.12.0-12.fc45 fedora 9.8 MiB libatomic x86_64 0:16.2.1-2.fc45.1 fedora 45.6 KiB libedit x86_64 0:3.1-60.20260512cvs.fc45 fedora 248.3 KiB libedit-devel x86_64 0:3.1-60.20260512cvs.fc45 fedora 59.9 KiB libgfortran x86_64 0:16.2.1-2.fc45.1 fedora 3.4 MiB libiodbc x86_64 0:3.52.16-6.fc45 fedora 683.6 KiB libmpc x86_64 0:1.4.1-2.fc45 fedora 168.8 KiB libpng x86_64 2:1.6.58-2.fc45 fedora 253.7 KiB libpq x86_64 0:18.4-4.fc45 fedora 1.1 MiB libquadmath x86_64 0:16.2.1-2.fc45.1 fedora 321.9 KiB libquadmath-devel x86_64 0:16.2.1-2.fc45.1 fedora 22.2 KiB libsbml x86_64 0:5.20.5-18.fc45 fedora 10.1 MiB libstdc++-devel x86_64 0:16.2.1-2.fc45.1 fedora 41.2 MiB libuv x86_64 1:1.52.1-2.fc45 fedora 593.2 KiB libxcrypt-devel x86_64 0:4.5.2-4.fc45 fedora 31.0 KiB libxml2-devel x86_64 0:2.15.4-1.fc45 fedora 6.7 MiB llvm14 x86_64 0:14.0.5-15.fc45 fedora 39.1 MiB llvm14-libs x86_64 0:14.0.5-15.fc45 fedora 96.0 MiB llvm14-static x86_64 0:14.0.5-15.fc45 fedora 1.8 GiB make x86_64 1:4.4.1-13.fc45 fedora 1.8 MiB mariadb-connector-c x86_64 0:3.4.9-3.fc45 fedora 505.5 KiB mariadb-connector-c-config noarch 0:3.4.9-3.fc45 fedora 26.4 KiB minizip-ng-compat x86_64 0:4.1.0-5.fc45 fedora 146.1 KiB mpdecimal x86_64 0:4.0.1-4.fc45 fedora 221.2 KiB ncurses-c++-libs x86_64 0:6.6-3.fc45 fedora 153.4 KiB odbcinst-generate noarch 0:2.3.14-36.fc45 fedora 22.5 KiB openblas x86_64 0:0.3.34-1.fc45 fedora 138.1 KiB openblas-openmp x86_64 0:0.3.34-1.fc45 fedora 44.8 MiB openssl-devel x86_64 1:4.0.3-1.fc45 fedora 4.7 MiB openssl3-libs x86_64 1:3.5.8-1.fc45 fedora 9.2 MiB pcre2-devel x86_64 0:10.47-1.fc45.2 fedora 2.1 MiB pcre2-utf16 x86_64 0:10.47-1.fc45.2 fedora 655.2 KiB pcre2-utf32 x86_64 0:10.47-1.fc45.2 fedora 619.1 KiB poco-activerecord x86_64 0:1.14.1-3.fc44 fedora 27.9 KiB poco-cppparser x86_64 0:1.14.1-3.fc44 fedora 234.6 KiB poco-crypto x86_64 0:1.14.1-3.fc44 fedora 316.4 KiB poco-data x86_64 0:1.14.1-3.fc44 fedora 2.4 MiB poco-encodings x86_64 0:1.14.1-3.fc44 fedora 896.6 KiB poco-foundation x86_64 0:1.14.1-3.fc44 fedora 2.3 MiB poco-json x86_64 0:1.14.1-3.fc44 fedora 409.3 KiB poco-jwt x86_64 0:1.14.1-3.fc44 fedora 216.3 KiB poco-mongodb x86_64 0:1.14.1-3.fc44 fedora 248.3 KiB poco-mysql x86_64 0:1.14.1-3.fc44 fedora 218.8 KiB poco-net x86_64 0:1.14.1-3.fc44 fedora 1.5 MiB poco-netssl x86_64 0:1.14.1-3.fc44 fedora 336.7 KiB poco-odbc x86_64 0:1.14.1-3.fc44 fedora 1.1 MiB poco-pdf x86_64 0:1.14.1-3.fc44 fedora 1.0 MiB poco-postgresql x86_64 0:1.14.1-3.fc44 fedora 479.9 KiB poco-prometheus x86_64 0:1.14.1-3.fc44 fedora 146.9 KiB poco-redis x86_64 0:1.14.1-3.fc44 fedora 150.2 KiB poco-sqlite x86_64 0:1.14.1-3.fc44 fedora 549.8 KiB poco-util x86_64 0:1.14.1-3.fc44 fedora 544.9 KiB poco-xml x86_64 0:1.14.1-3.fc44 fedora 578.7 KiB poco-zip x86_64 0:1.14.1-3.fc44 fedora 256.3 KiB pyproject-rpm-macros noarch 0:1.23.2-1.fc45 fedora 156.3 KiB python-pip-wheel noarch 0:26.1.2-5.fc45 fedora 1.2 MiB python-rpm-macros noarch 0:3.15-2.fc45 fedora 28.0 KiB python3 x86_64 0:3.15.0-1.fc45 fedora 28.7 KiB python3-iniconfig noarch 0:2.3.0-5.fc45 fedora 49.6 KiB python3-libs x86_64 0:3.15.0-1.fc45 fedora 48.3 MiB python3-numpy-f2py x86_64 1:2.5.3-1.fc45 fedora 2.1 MiB python3-packaging noarch 0:26.2-4.fc45 fedora 1.0 MiB python3-pluggy noarch 0:1.6.0-8.fc45 fedora 216.0 KiB python3-pygments noarch 0:2.20.0-5.fc45 fedora 11.3 MiB python3-rpm-generators noarch 0:14-35.fc45 fedora 81.9 KiB python3-rpm-macros noarch 0:3.15-2.fc45 fedora 6.5 KiB rhash x86_64 0:1.4.5-5.fc45 fedora 354.8 KiB rr-libstruct x86_64 0:2.9.2-0.4.git7ff1f47.fc45 copr_base 254.9 KiB suitesparse x86_64 0:7.11.0-3.fc45 fedora 45.7 MiB sundials x86_64 0:7.9.0-2.fc45 fedora 4.5 MiB tzdata noarch 0:2026c-2.fc45 fedora 1.2 MiB utf8proc x86_64 0:2.11.3-3.fc45 fedora 373.5 KiB utf8proc-devel x86_64 0:2.11.3-3.fc45 fedora 33.5 KiB vim-filesystem noarch 2:9.2.1129-1.fc45 fedora 40.0 B xz-devel x86_64 1:5.8.3-2.fc45 fedora 258.8 KiB zlib-ng-compat-devel x86_64 0:2.3.3-6.fc45 fedora 107.0 KiB Transaction Summary: Installing: 122 packages Total size of inbound packages is 609 MiB. Need to download 609 MiB. After this operation, 3 GiB extra will be used (install 3 GiB, remove 0 B). [ 1/122] ninja-build-0:1.13.2-6.fc45.x 100% | 28.3 MiB/s | 203.1 KiB | 00m00s [ 2/122] chrpath-0:0.16-29.fc45.x86_64 100% | 7.3 MiB/s | 29.9 KiB | 00m00s [ 3/122] f2c-0:20210928-14.fc45.x86_64 100% | 39.5 MiB/s | 323.2 KiB | 00m00s [ 4/122] python3-pytest-0:9.1.1-1.fc45 100% | 41.7 MiB/s | 2.5 MiB | 00m00s [ 5/122] python3-libsbml-0:5.20.5-18.f 100% | 66.9 MiB/s | 4.6 MiB | 00m00s [ 6/122] python3-numpy-1:2.5.3-1.fc45. 100% | 82.2 MiB/s | 8.5 MiB | 00m00s [ 7/122] swig-0:4.5.0-1.fc45.x86_64 100% | 48.8 MiB/s | 1.8 MiB | 00m00s [ 8/122] blas-devel-0:3.12.0-12.fc45.x 100% | 8.6 MiB/s | 26.4 KiB | 00m00s [ 9/122] expat-devel-0:2.8.3-1.fc45.x8 100% | 6.1 MiB/s | 56.0 KiB | 00m00s [ 10/122] cmake-0:4.3.0-5.fc45.x86_64 100% | 136.0 MiB/s | 14.4 MiB | 00m00s [ 11/122] lapack-devel-0:3.12.0-12.fc45 100% | 21.9 MiB/s | 89.8 KiB | 00m00s [ 12/122] gcc-c++-0:16.2.1-2.fc45.1.x86 100% | 129.1 MiB/s | 17.3 MiB | 00m00s [ 13/122] llvm14-devel-0:14.0.5-15.fc45 100% | 184.3 MiB/s | 3.5 MiB | 00m00s [ 14/122] ncurses-devel-0:6.6-3.fc45.x8 100% | 73.9 MiB/s | 605.8 KiB | 00m00s [ 15/122] rr-libstruct-devel-0:2.9.2-0. 100% | 134.9 KiB/s | 32.2 KiB | 00m00s [ 16/122] python3-devel-0:3.15.0-1.fc45 100% | 117.9 MiB/s | 483.0 KiB | 00m00s [ 17/122] poco-devel-0:1.14.1-3.fc44.x8 100% | 22.7 MiB/s | 1.2 MiB | 00m00s [ 18/122] sundials-devel-0:7.9.0-2.fc45 100% | 144.7 MiB/s | 4.8 MiB | 00m00s [ 19/122] zlib-ng-compat-static-0:2.3.3 100% | 78.6 MiB/s | 482.8 KiB | 00m00s [ 20/122] f2c-libs-0:20210928-14.fc45.x 100% | 8.1 MiB/s | 66.0 KiB | 00m00s [ 21/122] vim-filesystem-2:9.2.1129-1.f 100% | 3.8 MiB/s | 15.6 KiB | 00m00s [ 22/122] sbml-test-corpus-0:20260923-1 100% | 335.4 KiB/s | 73.8 KiB | 00m00s [ 23/122] minizip-ng-compat-0:4.1.0-5.f 100% | 12.3 MiB/s | 62.8 KiB | 00m00s [ 24/122] flexiblas-netlib-0:3.5.0-3.fc 100% | 136.1 MiB/s | 4.5 MiB | 00m00s [ 25/122] python3-numpy-f2py-1:2.5.3-1. 100% | 21.9 MiB/s | 515.5 KiB | 00m00s [ 26/122] libsbml-0:5.20.5-18.fc45.x86_ 100% | 11.7 MiB/s | 2.5 MiB | 00m00s [ 27/122] python3-iniconfig-0:2.3.0-5.f 100% | 6.3 MiB/s | 25.8 KiB | 00m00s [ 28/122] python3-packaging-0:26.2-4.fc 100% | 46.5 MiB/s | 238.0 KiB | 00m00s [ 29/122] python3-pluggy-0:1.6.0-8.fc45 100% | 10.0 MiB/s | 61.3 KiB | 00m00s [ 30/122] python3-pygments-0:2.20.0-5.f 100% | 204.6 MiB/s | 2.7 MiB | 00m00s [ 31/122] cmake-filesystem-0:4.3.0-5.fc 100% | 931.0 KiB/s | 14.9 KiB | 00m00s [ 32/122] blas-0:3.12.0-12.fc45.x86_64 100% | 74.8 MiB/s | 689.7 KiB | 00m00s [ 33/122] blas64-0:3.12.0-12.fc45.x86_6 100% | 42.6 MiB/s | 262.0 KiB | 00m00s [ 34/122] blas64_-0:3.12.0-12.fc45.x86_ 100% | 42.7 MiB/s | 262.1 KiB | 00m00s [ 35/122] cmake-data-0:4.3.0-5.fc45.noa 100% | 103.1 MiB/s | 2.7 MiB | 00m00s [ 36/122] expat-0:2.8.3-1.fc45.x86_64 100% | 32.2 MiB/s | 132.0 KiB | 00m00s [ 37/122] libsbml-devel-0:5.20.5-18.fc4 100% | 93.1 MiB/s | 47.6 MiB | 00m01s [ 38/122] jsoncpp-0:1.9.6-3.fc44.x86_64 100% | 2.2 MiB/s | 110.0 KiB | 00m00s [ 39/122] libuv-1:1.52.1-2.fc45.x86_64 100% | 38.2 MiB/s | 274.1 KiB | 00m00s [ 40/122] make-1:4.4.1-13.fc45.x86_64 100% | 71.8 MiB/s | 588.3 KiB | 00m00s [ 41/122] rhash-0:1.4.5-5.fc45.x86_64 100% | 39.4 MiB/s | 201.7 KiB | 00m00s [ 42/122] libmpc-0:1.4.1-2.fc45.x86_64 100% | 24.7 MiB/s | 75.7 KiB | 00m00s [ 43/122] lapack-0:3.12.0-12.fc45.x86_6 100% | 111.7 MiB/s | 12.5 MiB | 00m00s [ 44/122] rr-libstruct-0:2.9.2-0.4.git7 100% | 391.6 KiB/s | 102.6 KiB | 00m00s [ 45/122] lapack64_-0:3.12.0-12.fc45.x8 100% | 96.6 MiB/s | 3.0 MiB | 00m00s [ 46/122] llvm14-0:14.0.5-15.fc45.x86_6 100% | 123.3 MiB/s | 11.5 MiB | 00m00s [ 47/122] gcc-0:16.2.1-2.fc45.1.x86_64 100% | 133.9 MiB/s | 43.3 MiB | 00m00s [ 48/122] lapack64-0:3.12.0-12.fc45.x86 100% | 12.5 MiB/s | 3.0 MiB | 00m00s [ 49/122] ncurses-c++-libs-0:6.6-3.fc45 100% | 2.9 MiB/s | 38.5 KiB | 00m00s [ 50/122] poco-activerecord-0:1.14.1-3. 100% | 1.8 MiB/s | 18.6 KiB | 00m00s [ 51/122] poco-cppparser-0:1.14.1-3.fc4 100% | 8.9 MiB/s | 90.9 KiB | 00m00s [ 52/122] poco-crypto-0:1.14.1-3.fc44.x 100% | 13.6 MiB/s | 111.5 KiB | 00m00s [ 53/122] poco-data-0:1.14.1-3.fc44.x86 100% | 40.1 MiB/s | 616.6 KiB | 00m00s [ 54/122] poco-encodings-0:1.14.1-3.fc4 100% | 21.6 MiB/s | 442.5 KiB | 00m00s [ 55/122] poco-foundation-0:1.14.1-3.fc 100% | 35.9 MiB/s | 699.2 KiB | 00m00s [ 56/122] poco-json-0:1.14.1-3.fc44.x86 100% | 15.8 MiB/s | 146.1 KiB | 00m00s [ 57/122] poco-jwt-0:1.14.1-3.fc44.x86_ 100% | 7.5 MiB/s | 76.5 KiB | 00m00s [ 58/122] poco-mongodb-0:1.14.1-3.fc44. 100% | 9.5 MiB/s | 96.8 KiB | 00m00s [ 59/122] poco-mysql-0:1.14.1-3.fc44.x8 100% | 9.1 MiB/s | 74.8 KiB | 00m00s [ 60/122] llvm14-libs-0:14.0.5-15.fc45. 100% | 91.5 MiB/s | 23.1 MiB | 00m00s [ 61/122] poco-net-0:1.14.1-3.fc44.x86_ 100% | 17.5 MiB/s | 465.9 KiB | 00m00s [ 62/122] poco-netssl-0:1.14.1-3.fc44.x 100% | 21.7 MiB/s | 111.4 KiB | 00m00s [ 63/122] poco-odbc-0:1.14.1-3.fc44.x86 100% | 42.6 MiB/s | 305.1 KiB | 00m00s [ 64/122] poco-postgresql-0:1.14.1-3.fc 100% | 28.4 MiB/s | 145.3 KiB | 00m00s [ 65/122] poco-pdf-0:1.14.1-3.fc44.x86_ 100% | 43.4 MiB/s | 532.7 KiB | 00m00s [ 66/122] poco-prometheus-0:1.14.1-3.fc 100% | 9.9 MiB/s | 60.8 KiB | 00m00s [ 67/122] poco-redis-0:1.14.1-3.fc44.x8 100% | 11.0 MiB/s | 56.3 KiB | 00m00s [ 68/122] poco-sqlite-0:1.14.1-3.fc44.x 100% | 23.9 MiB/s | 146.9 KiB | 00m00s [ 69/122] poco-util-0:1.14.1-3.fc44.x86 100% | 28.5 MiB/s | 175.1 KiB | 00m00s [ 70/122] poco-xml-0:1.14.1-3.fc44.x86_ 100% | 19.7 MiB/s | 181.2 KiB | 00m00s [ 71/122] poco-zip-0:1.14.1-3.fc44.x86_ 100% | 10.8 MiB/s | 99.6 KiB | 00m00s [ 72/122] libgfortran-0:16.2.1-2.fc45.1 100% | 40.2 MiB/s | 987.2 KiB | 00m00s [ 73/122] python3-libs-0:3.15.0-1.fc45. 100% | 197.1 MiB/s | 11.2 MiB | 00m00s [ 74/122] sundials-0:7.9.0-2.fc45.x86_6 100% | 30.1 MiB/s | 1.0 MiB | 00m00s [ 75/122] zlib-ng-compat-devel-0:2.3.3- 100% | 9.2 MiB/s | 37.8 KiB | 00m00s [ 76/122] flexiblas-0:3.5.0-3.fc45.x86_ 100% | 7.4 MiB/s | 22.7 KiB | 00m00s [ 77/122] flexiblas-openblas-openmp-0:3 100% | 8.1 MiB/s | 16.6 KiB | 00m00s [ 78/122] emacs-filesystem-1:30.2-3.fc4 100% | 2.6 MiB/s | 8.1 KiB | 00m00s [ 79/122] libquadmath-0:16.2.1-2.fc45.1 100% | 33.8 MiB/s | 207.6 KiB | 00m00s [ 80/122] libedit-0:3.1-60.20260512cvs. 100% | 17.9 MiB/s | 110.0 KiB | 00m00s [ 81/122] cpp-0:16.2.1-2.fc45.1.x86_64 100% | 147.4 MiB/s | 14.6 MiB | 00m00s [ 82/122] utf8proc-0:2.11.3-3.fc45.x86_ 100% | 6.8 MiB/s | 83.1 KiB | 00m00s [ 83/122] mariadb-connector-c-0:3.4.9-3 100% | 25.7 MiB/s | 210.8 KiB | 00m00s [ 84/122] libiodbc-0:3.52.16-6.fc45.x86 100% | 29.7 MiB/s | 243.3 KiB | 00m00s [ 85/122] libpng-2:1.6.58-2.fc45.x86_64 100% | 18.0 MiB/s | 129.1 KiB | 00m00s [ 86/122] libpq-0:18.4-4.fc45.x86_64 100% | 28.6 MiB/s | 292.8 KiB | 00m00s [ 87/122] mpdecimal-0:4.0.1-4.fc45.x86_ 100% | 24.1 MiB/s | 98.5 KiB | 00m00s [ 88/122] python-pip-wheel-0:26.1.2-5.f 100% | 167.9 MiB/s | 1.2 MiB | 00m00s [ 89/122] tzdata-0:2026c-2.fc45.noarch 100% | 173.9 MiB/s | 712.2 KiB | 00m00s [ 90/122] SuperLUMT-0:4.0.2-2.fc45.x86_ 100% | 44.1 MiB/s | 180.8 KiB | 00m00s [ 91/122] suitesparse-0:7.11.0-3.fc45.x 100% | 120.9 MiB/s | 8.0 MiB | 00m00s [ 92/122] openssl3-libs-1:3.5.8-1.fc45. 100% | 11.7 MiB/s | 2.7 MiB | 00m00s [ 93/122] mariadb-connector-c-config-0: 100% | 1.9 MiB/s | 21.7 KiB | 00m00s [ 94/122] odbcinst-generate-0:2.3.14-36 100% | 2.4 MiB/s | 22.0 KiB | 00m00s [ 95/122] SuperLUMT-common-0:4.0.2-2.fc 100% | 78.4 MiB/s | 641.9 KiB | 00m00s [ 96/122] python3-0:3.15.0-1.fc45.x86_6 100% | 6.7 MiB/s | 27.5 KiB | 00m00s [ 97/122] pcre2-devel-0:10.47-1.fc45.2. 100% | 78.2 MiB/s | 560.4 KiB | 00m00s [ 98/122] pcre2-utf16-0:10.47-1.fc45.2. 100% | 41.6 MiB/s | 255.3 KiB | 00m00s [ 99/122] pcre2-utf32-0:10.47-1.fc45.2. 100% | 39.2 MiB/s | 240.9 KiB | 00m00s [100/122] utf8proc-devel-0:2.11.3-3.fc4 100% | 5.7 MiB/s | 17.6 KiB | 00m00s [101/122] openblas-0:0.3.34-1.fc45.x86_ 100% | 11.8 MiB/s | 48.2 KiB | 00m00s [102/122] libedit-devel-0:3.1-60.202605 100% | 8.1 MiB/s | 41.2 KiB | 00m00s [103/122] libstdc++-devel-0:16.2.1-2.fc 100% | 124.5 MiB/s | 6.0 MiB | 00m00s [104/122] glibc-devel-0:2.44-1.fc45.x86 100% | 63.9 MiB/s | 654.8 KiB | 00m00s [105/122] libxcrypt-devel-0:4.5.2-4.fc4 100% | 5.9 MiB/s | 30.4 KiB | 00m00s [106/122] libatomic-0:16.2.1-2.fc45.1.x 100% | 6.8 MiB/s | 55.7 KiB | 00m00s [107/122] openblas-openmp-0:0.3.34-1.fc 100% | 19.4 MiB/s | 5.5 MiB | 00m00s [108/122] kernel-headers-0:7.2.4-300.fc 100% | 70.0 MiB/s | 1.8 MiB | 00m00s [109/122] libquadmath-devel-0:16.2.1-2. 100% | 7.7 MiB/s | 47.5 KiB | 00m00s [110/122] gcc-gfortran-0:16.2.1-2.fc45. 100% | 87.5 MiB/s | 16.3 MiB | 00m00s [111/122] libxml2-devel-0:2.15.4-1.fc45 100% | 43.6 MiB/s | 536.4 KiB | 00m00s [112/122] openssl-devel-1:4.0.3-1.fc45. 100% | 93.4 MiB/s | 3.2 MiB | 00m00s [113/122] xz-devel-1:5.8.3-2.fc45.x86_6 100% | 16.2 MiB/s | 66.4 KiB | 00m00s [114/122] annobin-plugin-gcc-0:13.28-1. 100% | 97.0 MiB/s | 695.3 KiB | 00m00s [115/122] gcc-plugin-annobin-0:16.2.1-2 100% | 8.3 MiB/s | 59.5 KiB | 00m00s [116/122] pyproject-rpm-macros-0:1.23.2 100% | 10.7 MiB/s | 54.8 KiB | 00m00s [117/122] annobin-docs-0:13.28-1.fc45.n 100% | 9.5 MiB/s | 87.3 KiB | 00m00s [118/122] python-rpm-macros-0:3.15-2.fc 100% | 4.8 MiB/s | 19.8 KiB | 00m00s [119/122] python3-rpm-generators-0:14-3 100% | 7.0 MiB/s | 28.7 KiB | 00m00s [120/122] python3-rpm-macros-0:3.15-2.f 100% | 3.0 MiB/s | 12.2 KiB | 00m00s [121/122] cmake-rpm-macros-0:4.3.0-5.fc 100% | 1.9 MiB/s | 13.7 KiB | 00m00s [122/122] llvm14-static-0:14.0.5-15.fc4 100% | 160.6 MiB/s | 305.2 MiB | 00m02s -------------------------------------------------------------------------------- [122/122] Total 100% | 204.4 MiB/s | 609.3 MiB | 00m03s Running transaction [ 1/124] Verify package files 100% | 54.0 B/s | 122.0 B | 00m02s [ 2/124] Prepare transaction 100% | 638.0 B/s | 122.0 B | 00m00s [ 3/124] Installing libgfortran-0:16.2 100% | 340.2 MiB/s | 3.4 MiB | 00m00s [ 4/124] Installing cmake-filesystem-0 100% | 9.1 MiB/s | 9.4 KiB | 00m00s [ 5/124] Installing libmpc-0:1.4.1-2.f 100% | 166.4 MiB/s | 170.4 KiB | 00m00s [ 6/124] Installing expat-0:2.8.3-1.fc 100% | 17.5 MiB/s | 340.5 KiB | 00m00s [ 7/124] Installing zlib-ng-compat-dev 100% | 106.0 MiB/s | 108.6 KiB | 00m00s [ 8/124] Installing python-rpm-macros- 100% | 0.0 B/s | 28.9 KiB | 00m00s [ 9/124] Installing libquadmath-0:16.2 100% | 315.6 MiB/s | 323.2 KiB | 00m00s [ 10/124] Installing python3-rpm-macros 100% | 6.6 MiB/s | 6.8 KiB | 00m00s [ 11/124] Installing blas-0:3.12.0-12.f 100% | 49.4 MiB/s | 1.5 MiB | 00m00s [ 12/124] Installing lapack-0:3.12.0-12 100% | 109.4 MiB/s | 17.6 MiB | 00m00s [ 13/124] Installing blas64-0:3.12.0-12 100% | 343.7 MiB/s | 1.0 MiB | 00m00s [ 14/124] Installing blas64_-0:3.12.0-1 100% | 344.7 MiB/s | 1.0 MiB | 00m00s [ 15/124] Installing utf8proc-0:2.11.3- 100% | 366.1 MiB/s | 374.9 KiB | 00m00s [ 16/124] Installing poco-foundation-0: 100% | 377.1 MiB/s | 2.3 MiB | 00m00s [ 17/124] Installing poco-data-0:1.14.1 100% | 400.6 MiB/s | 2.4 MiB | 00m00s [ 18/124] Installing poco-net-0:1.14.1- 100% | 363.2 MiB/s | 1.5 MiB | 00m00s [ 19/124] Installing poco-json-0:1.14.1 100% | 400.4 MiB/s | 410.0 KiB | 00m00s [ 20/124] Installing poco-xml-0:1.14.1- 100% | 282.9 MiB/s | 579.3 KiB | 00m00s [ 21/124] Installing poco-util-0:1.14.1 100% | 266.4 MiB/s | 545.6 KiB | 00m00s [ 22/124] Installing openssl3-libs-1:3. 100% | 383.0 MiB/s | 9.2 MiB | 00m00s [ 23/124] Installing poco-crypto-0:1.14 100% | 309.6 MiB/s | 317.1 KiB | 00m00s [ 24/124] Installing libedit-0:3.1-60.2 100% | 244.1 MiB/s | 250.0 KiB | 00m00s [ 25/124] Installing llvm14-libs-0:14.0 100% | 415.5 MiB/s | 96.0 MiB | 00m00s [ 26/124] Installing make-1:4.4.1-13.fc 100% | 78.4 MiB/s | 1.8 MiB | 00m00s [ 27/124] Installing minizip-ng-compat- 100% | 143.5 MiB/s | 146.9 KiB | 00m00s [ 28/124] Installing libsbml-0:5.20.5-1 100% | 421.0 MiB/s | 10.1 MiB | 00m00s [ 29/124] Installing vim-filesystem-2:9 100% | 4.7 MiB/s | 4.8 KiB | 00m00s [ 30/124] Installing rr-libstruct-0:2.9 100% | 124.9 MiB/s | 255.8 KiB | 00m00s [ 31/124] Installing llvm14-0:14.0.5-15 100% | 305.7 MiB/s | 39.1 MiB | 00m00s [ 32/124] Installing poco-jwt-0:1.14.1- 100% | 211.9 MiB/s | 217.0 KiB | 00m00s [ 33/124] Installing poco-netssl-0:1.14 100% | 329.4 MiB/s | 337.3 KiB | 00m00s [ 34/124] Installing poco-mongodb-0:1.1 100% | 243.2 MiB/s | 249.0 KiB | 00m00s [ 35/124] Installing poco-prometheus-0: 100% | 144.1 MiB/s | 147.6 KiB | 00m00s [ 36/124] Installing poco-redis-0:1.14. 100% | 147.3 MiB/s | 150.9 KiB | 00m00s [ 37/124] Installing poco-activerecord- 100% | 0.0 B/s | 28.6 KiB | 00m00s [ 38/124] Installing poco-sqlite-0:1.14 100% | 268.8 MiB/s | 550.5 KiB | 00m00s [ 39/124] Installing poco-cppparser-0:1 100% | 229.8 MiB/s | 235.3 KiB | 00m00s [ 40/124] Installing poco-encodings-0:1 100% | 438.1 MiB/s | 897.2 KiB | 00m00s [ 41/124] Installing poco-zip-0:1.14.1- 100% | 251.0 MiB/s | 257.0 KiB | 00m00s [ 42/124] Installing utf8proc-devel-0:2 100% | 0.0 B/s | 34.0 KiB | 00m00s [ 43/124] Installing lapack64_-0:3.12.0 100% | 376.5 MiB/s | 9.8 MiB | 00m00s [ 44/124] Installing lapack64-0:3.12.0- 100% | 390.8 MiB/s | 9.8 MiB | 00m00s [ 45/124] Installing pyproject-rpm-macr 100% | 154.9 MiB/s | 158.6 KiB | 00m00s [ 46/124] Installing expat-devel-0:2.8. 100% | 233.0 MiB/s | 238.6 KiB | 00m00s [ 47/124] Installing cpp-0:16.2.1-2.fc4 100% | 317.8 MiB/s | 42.6 MiB | 00m00s [ 48/124] Installing annobin-docs-0:13. 100% | 98.5 MiB/s | 100.8 KiB | 00m00s [ 49/124] Installing xz-devel-1:5.8.3-2 100% | 128.2 MiB/s | 262.6 KiB | 00m00s [ 50/124] Installing libxml2-devel-0:2. 100% | 197.7 MiB/s | 6.7 MiB | 00m00s [ 51/124] Installing libsbml-devel-0:5. 100% | 518.4 MiB/s | 384.1 MiB | 00m01s [ 52/124] Installing openssl-devel-1:4. 100% | 65.6 MiB/s | 5.6 MiB | 00m00s [ 53/124] Installing kernel-headers-0:7 100% | 198.6 MiB/s | 7.1 MiB | 00m00s [ 54/124] Installing glibc-devel-0:2.44 100% | 170.6 MiB/s | 2.4 MiB | 00m00s [ 55/124] Installing libxcrypt-devel-0: 100% | 32.5 MiB/s | 33.3 KiB | 00m00s [ 56/124] Installing libatomic-0:16.2.1 100% | 22.8 MiB/s | 46.7 KiB | 00m00s [ 57/124] Installing gcc-0:16.2.1-2.fc4 100% | 376.2 MiB/s | 121.9 MiB | 00m00s [ 58/124] Installing libquadmath-devel- 100% | 23.1 MiB/s | 23.7 KiB | 00m00s [ 59/124] Installing gcc-gfortran-0:16. 100% | 318.6 MiB/s | 45.2 MiB | 00m00s [ 60/124] Installing blas-devel-0:3.12. 100% | 44.5 MiB/s | 136.6 KiB | 00m00s [ 61/124] Installing libstdc++-devel-0: 100% | 459.2 MiB/s | 41.3 MiB | 00m00s [ 62/124] Installing openblas-0:0.3.34- 100% | 136.6 MiB/s | 139.9 KiB | 00m00s [ 63/124] Installing openblas-openmp-0: 100% | 596.9 MiB/s | 44.8 MiB | 00m00s [ 64/124] Installing flexiblas-netlib-0 100% | 281.4 MiB/s | 16.3 MiB | 00m00s [ 65/124] Installing flexiblas-0:3.5.0- 100% | 38.2 MiB/s | 39.2 KiB | 00m00s [ 66/124] Installing flexiblas-openblas 100% | 39.0 MiB/s | 40.0 KiB | 00m00s [ 67/124] Installing suitesparse-0:7.11 100% | 471.5 MiB/s | 45.7 MiB | 00m00s [ 68/124] Installing pcre2-utf32-0:10.4 100% | 302.7 MiB/s | 620.0 KiB | 00m00s [ 69/124] Installing pcre2-utf16-0:10.4 100% | 320.3 MiB/s | 656.1 KiB | 00m00s [ 70/124] Installing pcre2-devel-0:10.4 100% | 84.8 MiB/s | 2.1 MiB | 00m00s [ 71/124] Installing SuperLUMT-common-0 100% | 332.1 MiB/s | 680.2 KiB | 00m00s [ 72/124] Installing SuperLUMT-0:4.0.2- 100% | 219.0 MiB/s | 448.4 KiB | 00m00s [ 73/124] Installing sundials-0:7.9.0-2 100% | 322.1 MiB/s | 4.5 MiB | 00m00s [ 74/124] Installing odbcinst-generate- 100% | 764.0 KiB/s | 23.7 KiB | 00m00s [ 75/124] Installing libiodbc-0:3.52.16 100% | 32.0 MiB/s | 687.6 KiB | 00m00s [ 76/124] Installing poco-odbc-0:1.14.1 100% | 365.6 MiB/s | 1.1 MiB | 00m00s [ 77/124] Installing mariadb-connector- 100% | 0.0 B/s | 27.2 KiB | 00m00s [ 78/124] Installing mariadb-connector- 100% | 166.3 MiB/s | 511.0 KiB | 00m00s [ 79/124] Installing poco-mysql-0:1.14. 100% | 42.9 MiB/s | 219.5 KiB | 00m00s [ 80/124] Installing tzdata-0:2026c-2.f 100% | 50.1 MiB/s | 1.5 MiB | 00m00s [ 81/124] Installing python-pip-wheel-0 100% | 623.2 MiB/s | 1.2 MiB | 00m00s [ 82/124] Installing mpdecimal-0:4.0.1- 100% | 31.1 MiB/s | 222.7 KiB | 00m00s [ 83/124] Installing python3-libs-0:3.1 100% | 322.4 MiB/s | 48.7 MiB | 00m00s [ 84/124] Installing python3-0:3.15.0-1 100% | 1.6 MiB/s | 30.4 KiB | 00m00s [ 85/124] Installing python3-packaging- 100% | 252.9 MiB/s | 1.0 MiB | 00m00s [ 86/124] Installing python3-rpm-genera 100% | 81.1 MiB/s | 83.1 KiB | 00m00s [ 87/124] Installing ninja-build-0:1.13 100% | 24.4 MiB/s | 500.6 KiB | 00m00s [ 88/124] Installing cmake-rpm-macros-0 100% | 2.2 MiB/s | 9.0 KiB | 00m00s [ 89/124] Installing python3-numpy-1:2. 100% | 318.7 MiB/s | 43.3 MiB | 00m00s [ 90/124] Installing python3-numpy-f2py 100% | 78.4 MiB/s | 2.2 MiB | 00m00s [ 91/124] Installing python3-iniconfig- 100% | 52.7 MiB/s | 54.0 KiB | 00m00s [ 92/124] Installing python3-pluggy-0:1 100% | 54.3 MiB/s | 222.4 KiB | 00m00s [ 93/124] Installing python3-pygments-0 100% | 195.5 MiB/s | 11.5 MiB | 00m00s [ 94/124] Installing libpq-0:18.4-4.fc4 100% | 284.3 MiB/s | 1.1 MiB | 00m00s [ 95/124] Installing poco-postgresql-0: 100% | 234.6 MiB/s | 480.4 KiB | 00m00s [ 96/124] Installing libpng-2:1.6.58-2. 100% | 248.9 MiB/s | 254.9 KiB | 00m00s [ 97/124] Installing poco-pdf-0:1.14.1- 100% | 343.0 MiB/s | 1.0 MiB | 00m00s [ 98/124] Installing emacs-filesystem-1 100% | 0.0 B/s | 812.0 B | 00m00s [ 99/124] Installing ncurses-c++-libs-0 100% | 75.6 MiB/s | 154.9 KiB | 00m00s [100/124] Installing ncurses-devel-0:6. 100% | 31.8 MiB/s | 1.0 MiB | 00m00s [101/124] Installing libedit-devel-0:3. 100% | 33.0 MiB/s | 67.5 KiB | 00m00s [102/124] Installing llvm14-static-0:14 100% | 475.8 MiB/s | 1.8 GiB | 00m04s [103/124] Installing rhash-0:1.4.5-5.fc 100% | 17.6 MiB/s | 360.1 KiB | 00m00s [104/124] Installing libuv-1:1.52.1-2.f 100% | 291.0 MiB/s | 596.0 KiB | 00m00s [105/124] Installing jsoncpp-0:1.9.6-3. 100% | 23.4 MiB/s | 287.1 KiB | 00m00s [106/124] Installing cmake-data-0:4.3.0 100% | 109.5 MiB/s | 10.1 MiB | 00m00s [107/124] Installing cmake-0:4.3.0-5.fc 100% | 315.8 MiB/s | 40.4 MiB | 00m00s [108/124] Installing f2c-libs-0:2021092 100% | 131.1 MiB/s | 134.3 KiB | 00m00s [109/124] Installing f2c-0:20210928-14. 100% | 29.3 MiB/s | 690.0 KiB | 00m00s [110/124] Installing llvm14-devel-0:14. 100% | 216.8 MiB/s | 21.3 MiB | 00m00s [111/124] Installing poco-devel-0:1.14. 100% | 130.4 MiB/s | 6.5 MiB | 00m00s [112/124] Installing python3-pytest-0:9 100% | 334.8 MiB/s | 24.4 MiB | 00m00s [113/124] Installing python3-devel-0:3. 100% | 89.5 MiB/s | 2.5 MiB | 00m00s [114/124] Installing python3-libsbml-0: 100% | 557.8 MiB/s | 33.5 MiB | 00m00s [115/124] Installing sbml-test-corpus-0 100% | 199.2 MiB/s | 816.1 KiB | 00m00s [116/124] Installing sundials-devel-0:7 100% | 434.6 MiB/s | 36.9 MiB | 00m00s [117/124] Installing gcc-c++-0:16.2.1-2 100% | 306.1 MiB/s | 46.8 MiB | 00m00s [118/124] Installing lapack-devel-0:3.1 100% | 400.6 MiB/s | 1.6 MiB | 00m00s [119/124] Installing annobin-plugin-gcc 100% | 49.6 MiB/s | 711.1 KiB | 00m00s [120/124] Installing gcc-plugin-annobin 100% | 4.8 MiB/s | 58.7 KiB | 00m00s [121/124] Installing rr-libstruct-devel 100% | 183.0 MiB/s | 187.4 KiB | 00m00s [122/124] Installing zlib-ng-compat-sta 100% | 261.5 MiB/s | 2.1 MiB | 00m00s [123/124] Installing swig-0:4.5.0-1.fc4 100% | 133.9 MiB/s | 6.4 MiB | 00m00s [124/124] Installing chrpath-0:0.16-29. 100% | 339.4 KiB/s | 60.1 KiB | 00m00s Warning: skipped OpenPGP checks for 3 packages from repository: copr_base Complete! Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1792713600 Wrote: /builddir/build/SRPMS/libroadrunner-2.11.0-1.fc45.src.rpm Updating and loading repositories: updates 100% | 64.4 KiB/s | 23.2 KiB | 00m00s fedora 100% | 56.7 KiB/s | 20.2 KiB | 00m00s Additional repo copr_mhough_neurofedor 100% | 7.7 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 7.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Nothing to do. Package "blas-devel-3.12.0-12.fc45.x86_64" is already installed. Package "chrpath-0.16-29.fc45.x86_64" is already installed. Package "cmake-4.3.0-5.fc45.x86_64" is already installed. Package "expat-devel-2.8.3-1.fc45.x86_64" is already installed. Package "f2c-20210928-14.fc45.x86_64" is already installed. Package "gcc-c++-16.2.1-2.fc45.1.x86_64" is already installed. Package "lapack-devel-3.12.0-12.fc45.x86_64" is already installed. Package "libsbml-devel-5.20.5-18.fc45.x86_64" is already installed. Package "llvm14-devel-14.0.5-15.fc45.x86_64" is already installed. Package "ncurses-devel-6.6-3.fc45.x86_64" is already installed. Package "ninja-build-1.13.2-6.fc45.x86_64" is already installed. Package "poco-devel-1.14.1-3.fc44.x86_64" is already installed. Package "python3-devel-3.15.0-1.fc45.x86_64" is already installed. Package "python3-libsbml-5.20.5-18.fc45.x86_64" is already installed. Package "python3-numpy-1:2.5.3-1.fc45.x86_64" is already installed. Package "python3-pytest-9.1.1-1.fc45.noarch" is already installed. Package "rr-libstruct-devel-2.9.2-0.4.git7ff1f47.fc45.x86_64" is already installed. Package "sbml-test-corpus-20260923-1.fc45.noarch" is already installed. Package "sundials-devel-7.9.0-2.fc45.x86_64" is already installed. Package "swig-4.5.0-1.fc45.x86_64" is already installed. Package "zlib-ng-compat-static-2.3.3-6.fc45.x86_64" is already installed. Finish: build setup for libroadrunner-2.11.0-1.fc45.src.rpm Start: rpmbuild libroadrunner-2.11.0-1.fc45.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1792713600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.dmWWUm Creating(rpmbuild.env): /builddir/build/BUILD/libroadrunner-2.11.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/libroadrunner-2.11.0-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="x86_64" RPM_OS="linux" RPM_BUILD_NCPUS="4" RPM_SPECPARTS_DIR="/builddir/build/BUILD/libroadrunner-2.11.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="libroadrunner" RPM_PACKAGE_VERSION="2.11.0" RPM_PACKAGE_RELEASE="1.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/libroadrunner-2.11.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.t3Lkfn + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + rm -rf roadrunner-2.11.0 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/libroadrunner-2.11.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd roadrunner-2.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rpmuncompress /builddir/build/SOURCES/libroadrunner-2.11.0-tests-distrib-braces.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + bash /builddir/build/SOURCES/libroadrunner-fedora-transform.sh . RoadRunner transform applied. + grep -qF 'find_package(ZLIB CONFIG REQUIRED COMPONENTS static)' CMakeLists.txt + sed -i 's/find_package(ZLIB CONFIG REQUIRED COMPONENTS static)/find_package(ZLIB CONFIG REQUIRED)/' CMakeLists.txt + sed -i '\#include "llvm/Transforms/InstCombine/InstCombine.h"#i #include ' source/llvm/LLVMIncludes.h + sed -i s#llvm/Support/TargetRegistry.h#llvm/MC/TargetRegistry.h# source/llvm/Jit.cpp source/llvm/ModelGeneratorContext.cpp source/llvm/ModelResources.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.C2vJZK + umask 022 + cd /builddir/build/BUILD/libroadrunner-2.11.0-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd roadrunner-2.11.0 + export LLVM_DIR=/usr/lib64/llvm14 + LLVM_DIR=/usr/lib64/llvm14 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DCMAKE_BUILD_TYPE=Release -DRR_DEPENDENCIES_INSTALL_PREFIX=/usr -DLLVM_INSTALL_PREFIX=/usr/lib64/llvm14 -DBUILD_PYTHON=ON -DBUILD_LLVM=ON -DBUILD_RR_CAPI=ON -DBUILD_TESTS=ON -- The CXX compiler identification is GNU 16.2.1 -- The C compiler identification is GNU 16.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Build on 64-bit platform -- ROADRUNNER_GIT_BRANCH : git not found, unknown git branch -- ROADRUNNER_GIT_LAST_COMMIT : git not found, unknown git commit could not find git -- Found Python: /usr/bin/python3.15 (found version "3.15.0") found components: Interpreter Development NumPy Development.Module Development.Embed -- PROJECT_BINARY_DIR /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build -- not building legacy C backend -- CMAKE_PREFIX_PATH /usr/cmake;/usr/lib/cmake;/usr/lib/cmake/Poco;/usr/lib64/cmake;/usr/lib64/cmake/Poco ZLIB::ZLIBSTATIC BINARY_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build ZLIB::ZLIBSTATIC IMPORTED = TRUE ZLIB::ZLIBSTATIC IMPORTED_CONFIGURATIONS = RELEASE ZLIB::ZLIBSTATIC INTERFACE_INCLUDE_DIRECTORIES = /usr/include ZLIB::ZLIBSTATIC LOCATION = /usr/lib64/libz.a ZLIB::ZLIBSTATIC LOCATION_Release = /usr/lib64/libz.a ZLIB::ZLIBSTATIC MACOSX_PACKAGE_LOCATION = /usr/lib64/libz.a ZLIB::ZLIBSTATIC NAME = ZLIB::ZLIBSTATIC ZLIB::ZLIBSTATIC SOURCE_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0 ZLIB::ZLIBSTATIC SYSTEM = ON ZLIB::ZLIBSTATIC TYPE = STATIC_LIBRARY ZLIB::ZLIBSTATIC VS_DEPLOYMENT_LOCATION = /usr/lib64/libz.a expat::expat BINARY_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build expat::expat IMPORTED = TRUE expat::expat IMPORTED_CONFIGURATIONS = NOCONFIG expat::expat INTERFACE_INCLUDE_DIRECTORIES = /usr/include expat::expat INTERFACE_LINK_LIBRARIES = m expat::expat LOCATION = /usr/lib64/libexpat.so.1.12.3 expat::expat LOCATION_Release = /usr/lib64/libexpat.so.1.12.3 expat::expat MACOSX_PACKAGE_LOCATION = /usr/lib64/libexpat.so.1.12.3 expat::expat NAME = expat::expat expat::expat POSITION_INDEPENDENT_CODE = True expat::expat SOURCE_DIR = /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0 expat::expat SYSTEM = ON expat::expat TYPE = SHARED_LIBRARY expat::expat VS_DEPLOYMENT_LOCATION = /usr/lib64/libexpat.so.1.12.3 -- EXPAT_LIBRARY: /usr/lib64/libexpat.so.1.12.3 -- ZLIB_LIBRARY: /usr/lib64/libz.a -- ZLIB_INCLUDE_DIR: /usr/include/ -- Found ZLIB: /usr/lib64/libz.a (found version "1.3.1") -- Found PCRE2: /lib64/libpcre2-8.so -- Found Utf8Proc: /usr/lib64/libutf8proc.so -- Found EXPAT: /usr/lib64/libexpat.so.1.12.3 (found version "2.8.3") -- LLVM llvm-config found at: /usr/lib64/llvm14/bin/llvm-config -- Found LLVM: /usr/lib64/llvm14/include -- Found OpenMP_C: -fopenmp (found version "5.2") -- Found OpenMP_CXX: -fopenmp (found version "5.2") -- Found OpenMP: TRUE (found version "5.2") -- Found Curses: /usr/lib64/libcurses.so -- CMAKE_INSTALL_LIBDIR lib64 -- LLVM_FLAGS -I/usr/lib64/llvm14/include -std=c++14 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LIBRARIES /usr/lib64/llvm14/lib/libLLVM-14.so} -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.0 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Found SWIG: /usr/bin/swig (found suitable version "4.5.0", minimum required is "4.0.1") found components: python java -- SWIG found: /usr/bin/swig -- swig_version 4.5.0 PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- RR_PYTHON_TESTING_BUILD_PREFIX: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests -- Building TestModelFactory -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.0 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Found SWIG: /usr/bin/swig (found suitable version "4.5.0", minimum required is "4.0.1") found components: python -- Adding swig executable: TestModelFactory -- Swig target "TestModelFactory" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "TestModelFactory" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.0 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Adding swig executable: SettingTestsSwigAPI -- Swig target "SettingTestsSwigAPI" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "SettingTestsSwigAPI" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- SWIG_EXECUTABLE /usr/bin/swig -- SWIG_DIR /usr/share/swig/4.5.0 -- SWIG_USE_FILE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/cmake/UseSWIG.cmake -- Adding swig executable: picklable_swig -- Swig target "picklable_swig" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- Swig generated .py for target "picklable_swig" will be copied to "/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests" in the build tree after the target is built -- PyTestTests python_tests_AutomaticMoietyConservationAnalysisTests;python_tests_ForwardSensitivitySolverTests;python_tests_IntegratorTests;python_tests_JacobianTests;python_tests_TestModelFactoryTests;python_tests_NamedArrayTests;python_tests_Python_api_tests;python_tests_SteadyStateSolverTests;python_tests_StructuralAnalysisTests;python_tests_RoadRunnerMap;python_tests_AutoPluginTest;python_tests_RRTests;python_tests_SettingTests;python_tests_RunStochasticTestSuite -- CMAKE_BINARY_DIR /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build -- building tests -- ######################################################## # Build Summary for libroadrunner 2.11.0 ######################################################## For up-to-date news and releases visit libroadrunner.org Configured on host ------------------------------------------------------------------------------- CMake variables ------------------------------------------------------------------------------- CMAKE_C_COMPILER /usr/bin/gcc CMAKE_CXX_COMPILER /usr/bin/g++ BUILD_DEFINITIONS CMAKE_SYSTEM_VERSION 7.0.10-201.fc44.x86_64 ROADRUNNER_VERSION 2.11.0 CMAKE_CXX_COMPILER_ID GNU CMAKE_CXX_COMPILER_VERSION 16.2.1 CMAKE_CXX_STANDARD 17 CMAKE_POSITION_INDEPENDENT_CODE ON CMAKE_INSTALL_RPATH $ORIGIN;$ORIGIN/../lib64 CMAKE_CXX_FLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 CMAKE_C_FLAGS -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CMAKE_CXX_FLAGS_RELEASE -DNDEBUG CMAKE_C_FLAGS_RELEASE -DNDEBUG CMAKE_CXX_FLAGS_DEBUG -g CMAKE_C_FLAGS_DEBUG -g CMAKE_INSTALL_PREFIX /usr CMAKE_VERBOSE_MAKEFILE TRUE CMAKE_BUILD_TYPE Release CMAKE_RUNTIME_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/bin CMAKE_LIBRARY_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib CMAKE_ARCHIVE_OUTPUT_DIRECTORY /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib ------------------------------------------------------------------------------- Options ------------------------------------------------------------------------------- Host OS Linux Host architecture x86_64 CMake Generator Ninja With LLVM? ON With legacy C? (DEP) OFF llvm-6.x install prefix /usr/lib64/llvm14 Build test tools? OFF Build tests? ON Build Python bindings ON Site-packages directory /usr/site-packages Python roadrunner install prefix /usr/site-packages/roadrunner Build Python ctypes api Build conda recipe Build roadrunner C API ON Build apps OFF Build examples OFF Install sbml models? OFF Build Java bindings? OFF Package roadrunner? OFF Build with address sanitizer? OFF PYTHON_PACKAGE_SITE_DIR_BUILD_TREE /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages PYTHON_PACKAGE_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner RR_PYTHON_TESTING_BUILD_PREFIX /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/lib/site-packages/roadrunner/tests PYTHON_PACKAGE_SITE_DIR /usr/site-packages PYTHON_PACKAGE_INSTALL_PREFIX /usr/site-packages/roadrunner RR_PYTHON_TESTING_INSTALL_PREFIX /usr/site-packages/roadrunner/tests ------------------------------------------------------------------------------- rrplugins ------------------------------------------------------------------------------- Features: Build rrplugins package? OFF Build rrplugins as shared library? OFF Build rrplugins as static library? OFF Where to install python rrplugins? /usr/site-packages/rrplugins Languages Build the C API? OFF Build the Python API? OFF Plugins available: Test Model OFF Add Noise OFF Chi-squared OFF Bifurcation Auto2k OFF Demo Plugin OFF ------------------------------------------------------------------------------- Python Variables ------------------------------------------------------------------------------- Note: you can change these by setting the Python_ROOT_DIR variable BUILD_PYTHON ON Python_ROOT_DIR /usr/bin Python_FOUND TRUE Python_Interpreter_FOUND TRUE Python_EXECUTABLE /usr/bin/python3.15 Python_INTERPRETER_ID Python IronPython Python_STDLIB /usr/lib64/python3.15 Python_STDARCH /usr/lib64/python3.15 Python_SITELIB /usr/lib/python3.15/site-packages Python_SITEARCH /usr/lib64/python3.15/site-packages Python_SOABI cpython-315-x86_64-linux-gnu Python_Compiler_FOUND FALSE Python_COMPILER Python_COMPILER_ID Python_DOTNET_LAUNCHER Python_Development_FOUND TRUE Python_Development .Module_FOUND Python_Development .Embed_FOUND Python_INCLUDE_DIRS /usr/include/python3.15 Python_LINK_OPTIONS Python_LIBRARY Python_LIBRARIES /usr/lib64/libpython3.15.so Python_LIBRARY_DIRS /usr/lib64 Python_RUNTIME_LIBRARY_DIRS /usr/lib64 Python_VERSION 3.15.0 Python_VERSION_MAJOR 3 Python_VERSION_MINOR 15 Python_VERSION_PATCH 0 Python_PyPy_VERSION Python_NumPy_FOUND TRUE Python_NumPy_INCLUDE_DIRS /usr/lib64/python3.15/site-packages/numpy/_core/include Python_NumPy_VERSION 2.5.3 End Summary ################################################################################ -- Configuring done (2.5s) CMake Warning (dev) at /usr/share/cmake/Modules/UseSWIG.cmake:973 (add_library): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTestsSwigAPI.cpp Call Stack (most recent call first): test/CMakeLists.txt:138 (swig_add_library) test/cxx_api_tests/CMakeLists.txt:38 (add_rr_test_swig_library) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [2/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [3/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [4/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:301:25: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 301 | catch (std::runtime_error) { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:66:24: warning: ‘std::string rr::strip(const std::string&)’ defined but not used [-Wunused-function] 66 | static std::string strip(const std::string& in) { | ^~~~~ [5/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [6/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [7/538] /usr/bin/g++ -DBUILD_LLVM -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o -MF test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o.d -o test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/src/gmock-all.cc [8/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:133:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:161:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 161 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:172:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:183:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:279:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 279 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [9/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:84:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 84 | for(int chrNr = 0; chrNr < chars.size(); chrNr++) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:105:12: warning: unused variable ‘leftPos’ [-Wunused-variable] 105 | size_t leftPos = expression.find("(", startFrom); //First lef parenthesis | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | for(int i = 0; i < expression.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:904:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:907:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | if(i < vec.size() - 1) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [10/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:70:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for(int i = 0; i < extensions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:574:46: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 574 | if(!dest.size() || !source || startIndex > dest.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:590:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 590 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:605:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:692:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 692 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [11/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [12/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SundialsLogger.cpp [13/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.cpp [14/538] /usr/bin/g++ -DBUILD_LLVM -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -MF test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o.d -o test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/src/gtest-all.cc [15/538] : && /usr/bin/cmake -E rm -f lib/libgtest.a && /usr/bin/ar qc lib/libgtest.a test/googletest-master/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o && /usr/bin/ranlib lib/libgtest.a && : [16/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:73:16: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable=] 73 | double tf = 0; | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [17/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:586:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 586 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:113:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | for (int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:240:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 240 | for (int i = 0; i < err_names.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [19/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:212:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 212 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [20/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:268:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 268 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:267:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 267 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:337:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 337 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:276:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 276 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:134:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 134 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:258:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 258 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:609:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 609 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:861:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 861 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:958:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 958 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [21/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [22/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:75:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 75 | if (keyNr < mKeys.size()) | ~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [23/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [24/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:58:29: warning: ‘rr::IniFile::mAutoSave’ will be initialized after [-Wreorder] 58 | bool mAutoSave; //Save ini file automatically on destruction | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [25/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [26/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:55:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for(int i = 0; i < sel.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:168:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 168 | for(int row = 0; row < mTheData.RSize(); row++) | ~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:190:12: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | if(col < mColumnNames.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i = 0; i < mColumnNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:229:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if(i < mColumnNames.size() -1) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:329:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 329 | for(int i = 0; i < mTheData.RSize(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:332:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int j = 0; j < aLine.size(); j++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:521:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 521 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:525:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 525 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:549:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 549 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:553:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 553 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [27/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [28/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [29/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:221:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 221 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [30/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:272:9: warning: when initialized here [-Wreorder] 272 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:289:9: warning: when initialized here [-Wreorder] 289 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:891:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 891 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:899:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 899 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:907:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1065:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1065 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1078:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1078 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1093:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1093 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1112 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1183:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1183 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1198:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1198 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1211:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1211 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1224:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1224 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1237:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1237 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1316:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1316 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1334:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1334 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1601:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1601 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2027:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2027 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2067:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2067 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2081:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2081 | for (int r = 0; r < lor->size(); r++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2089:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2089 | for (int r = 0; r < lorules->size(); r++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2137:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2137 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2182:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2182 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2216:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2216 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2241:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2241 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2388:28: warning: unused variable ‘itime’ [-Wunused-variable] 2388 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2556:24: warning: unused variable ‘ls’ [-Wunused-variable] 2556 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2577:24: warning: unused variable ‘ls’ [-Wunused-variable] 2577 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2644:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2644 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2660:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2660 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2676:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2676 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2692:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2692 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2778:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2778 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2814:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2814 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3354:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3354 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3359:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3359 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3351:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 3351 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3596:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3596 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3597:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3597 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3680:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3680 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3705:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3705 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3714:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3714 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3732:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3732 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3968:24: warning: unused variable ‘ls’ [-Wunused-variable] 3968 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3990:24: warning: unused variable ‘ls’ [-Wunused-variable] 3990 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4231:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 4231 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4544:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4544 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4713:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4713 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4714:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4714 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4837:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4837 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4838:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4838 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4861:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4861 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4892:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4892 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4900:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4900 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5006:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5006 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5021:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5021 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5036:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5036 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5042:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 5042 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5090:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5090 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5225:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5225 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5489:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5489 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5500:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5500 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5513:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5513 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::Matrix rr::RoadRunner::getFrequencyResponse(double, int, int, const std::string&, const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5577:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5577 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5604:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5604 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5628:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5628 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5643:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5643 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6306:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6306 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6360 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6374 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6388:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6388 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6411:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6411 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6453:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6453 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6471:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6471 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:184:36: warning: unused variable ‘self’ [-Wunused-variable] 184 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6424:9: note: in expansion of macro ‘get_self’ 6424 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6634:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6634 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::addReaction(const std::string&, std::vector >, std::vector >, const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6894:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6894 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7002:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7002 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7761:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7761 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7837:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7837 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7901:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7901 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7914:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7914 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7926:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7926 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7946:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7946 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7959:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7959 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7994:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7994 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8023:21: warning: unused variable ‘temp’ [-Wunused-variable] 8023 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8039:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8039 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8100:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8100 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8113:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8113 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6315:23: required from here 6315 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:29 = const std::__cxx11::basic_string&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs >() const::&; _Args = {const std::__cxx11::basic_string, std::allocator >&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs >() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = std::__cxx11::basic_string]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1035:37: required from here 1035 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4948:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4948 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3835:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3835 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [31/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [32/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.cpp [33/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.cpp [34/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:132:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | for (int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [35/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:168:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 168 | for (int i = 0; i < v->size(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:169:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | if (i == v->size() - 1) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:164:18: warning: unused variable ‘v’ [-Wunused-variable] 164 | if (auto v = get_if()) { | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [36/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.cpp [37/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [38/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [39/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [40/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:556:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 556 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:583:14: warning: unused variable ‘print’ [-Wunused-variable] 583 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:585:14: warning: unused variable ‘len’ [-Wunused-variable] 585 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:688:29: required from here 688 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:411:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 411 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:384:36: required from ‘void rr::Matrix3D::deleteCol(const std::string&) [with IndexType = double; DataType = double; std::string = std::__cxx11::basic_string]’ 384 | submatrix.deleteCol(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:714:38: required from here 714 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:358:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 358 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:351:17: note: ‘sensi_meth’ was declared here 351 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:377:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 377 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:370:17: note: ‘dq_method’ was declared here 370 | int dq_method; | ^~~~~~~~~ [41/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:30:13: warning: unused variable ‘stateVectorSize’ [-Wunused-variable] 30 | int stateVectorSize = mModel->getStateVector(nullptr); | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [42/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [43/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [44/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [45/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [46/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp:92:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 92 | for (int i=0; i(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:211:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 211 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:228:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 228 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [50/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationExtension.cpp [51/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationDocumentPlugin.cpp [52/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [53/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyPlugin.cpp [54/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [55/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:478:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 478 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:487:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 487 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createDependentSpeciesRules(Model*, const ls::DoubleMatrix&, const std::vector >&, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:623:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 623 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:819:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 819 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:859:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 859 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:865:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 865 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:892:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 892 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:898:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 898 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [56/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [57/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [58/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [59/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.cpp [60/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [61/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [62/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:720:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 720 | for (int rxn = 0; rxn < model->getNumReactions(); rxn++) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:970:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 970 | for (int i = 3; i < numKids; i++) { | ~~^~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [63/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [64/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 55 | for (int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [65/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [66/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventAssignCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [67/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [68/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_Tp>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [69/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventTriggerCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [70/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [71/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventTriggerCodeGen; FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventPriorityCodeGen; FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [72/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:47:64: required from ‘rrllvm::GetInitialValueCodeGenBase::GetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [73/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [74/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:48:57: required from ‘rrllvm::GetValueCodeGenBase::GetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 48 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [75/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [76/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:383:23: warning: ‘rrllvm::Jit::options’ will be initialized after [-Wreorder] 383 | std::uint32_t options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:382:44: warning: ‘rrllvm::Jit::builder’ will be initialized after [-Wreorder] 382 | std::unique_ptr> builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp: In member function ‘rrllvm::FnMap rrllvm::Jit::externalFunctionSignatures() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:371:29: warning: unused variable ‘fnTy_double_void_d4’ [-Wunused-variable] 371 | llvm::FunctionType *fnTy_double_void_d4 = llvm::FunctionType::get(double_type, args_void_double_quadruple,false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:372:29: warning: unused variable ‘fnTy_double_void_d3’ [-Wunused-variable] 372 | llvm::FunctionType *fnTy_double_void_d3 = llvm::FunctionType::get(double_type, args_void_double_triple, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:373:29: warning: unused variable ‘fnTy_double_void_d2’ [-Wunused-variable] 373 | llvm::FunctionType *fnTy_double_void_d2 = llvm::FunctionType::get(double_type, args_void_double_double, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:374:29: warning: unused variable ‘fnTy_double_void_d1’ [-Wunused-variable] 374 | llvm::FunctionType *fnTy_double_void_d1 = llvm::FunctionType::get(double_type, args_void_double, false); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [77/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.cpp [78/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJitSectionMemory.cpp [79/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [80/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [81/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 96 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 123 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 131 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 140 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 198 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 256 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 334 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Symbol*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Symbol*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:752:18: required from here 752 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Block*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Block*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:753:17: required from here 753 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [82/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:130:1: warning: when initialized here [-Wreorder] 130 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:145:1: warning: when initialized here [-Wreorder] 145 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2055:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 2055 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:28: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::set&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2136:16: required from here 2136 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 374 | for (int i = 0; i < ssize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2137:16: required from here 2137 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2138:16: required from here 2138 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::unordered_map&) [with K = unsigned int; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2139:16: required from here 2139 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2140:16: required from here 2140 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = std::vector; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2141:16: required from here 2141 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2167:16: required from here 2167 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = rrllvm::LLVMModelDataSymbols::SpeciesReferenceType; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2169:16: required from here 2169 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = long unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2194:16: required from here 2194 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned char; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2195:16: required from here 2195 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [83/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:683:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 683 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:682:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 682 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:766:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 766 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:867:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 867 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1237:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1237 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1248:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1248 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1258:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1282:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1282 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1284:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1284 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1288:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1288 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1296:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1296 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1308:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1308 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1310:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1310 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1314:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1314 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1322:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1322 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1351:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1351 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1353:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1353 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1361:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1361 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1370:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1370 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1372:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1372 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1380:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1380 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1392:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1392 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1394:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1394 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1402:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1402 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1411:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1411 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1413:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1421:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1421 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1914:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1914 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2062:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2062 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2118:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2118 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2221:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2221 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2270:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2270 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2273:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2273 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In function ‘bool rrllvm::isMultiSpeciesReferenceCell(const LLVMModelDataSymbols*, int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:20: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:49: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2706:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2706 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2709:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2709 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = long long unsigned int; V = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:326:19: required from here 326 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [84/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:32:1: warning: when initialized here [-Wreorder] 32 | LLVMModelSymbols::LLVMModelSymbols(const ::Model *m, LLVMModelDataSymbols const &sym) : | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:218:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 218 | for (int i = 0; i < reactants->size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:253:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 253 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [85/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:149:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 149 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:150:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 150 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:402:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 402 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [86/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [87/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [88/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘llvm::Value* rrllvm::ModelDataIRBuilder::createGEP(rrllvm::ModelDataFields)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:128:108: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 128 | return builder.CreateStructGEP(cast(modelData->getType()->getScalarType())->getElementType(), modelData, (unsigned)field, Twine(fieldName) + Twine("_gep")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib64/llvm14/include/llvm/IR/Function.h:29, from /usr/lib64/llvm14/include/llvm/Transforms/InstCombine/InstCombine.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:38, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:8: /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘void rrllvm::ModelDataIRBuilder::validateStruct(llvm::Value*, const char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:618:59: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 618 | Type *type = pointerType ? pointerType->getElementType() : s->getType(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:793:1: warning: when initialized here [-Wreorder] 793 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:79:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 79 | static bool isArray(ModelDataFields f) | ^~~~~~~ [89/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [90/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [91/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:128:34: warning: enum constant in boolean context [-Wint-in-bool-context] 128 | rr::Config::ROADRUNNER_DISABLE_WARNINGS_CONSERVED_MOIETY) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:77:22: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ declared ‘static’ but never defined [-Wunused-function] 77 | static Function *createGlobalMappingFunction(const char *funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:460:26: warning: ‘SBMLDocument* rrllvm::checkedReadSBMLFromString(const char*)’ defined but not used [-Wunused-function] 460 | static SBMLDocument *checkedReadSBMLFromString(const char *xml) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [92/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:100:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 100 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:99:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 99 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [93/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:24:68: required from here 24 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [94/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:98:11: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ defined but not used [-Wunused-function] 98 | Function* createGlobalMappingFunction(const char* funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [95/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [96/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [97/538] : && /usr/bin/cmake -E rm -f lib/libgmock.a && /usr/bin/ar qc lib/libgmock.a test/googletest-master/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o && /usr/bin/ranlib lib/libgmock.a && : [98/538] /usr/bin/g++ -DBUILD_LLVM -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -MF test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o.d -o test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/src/gmock_main.cc [99/538] /usr/bin/g++ -DBUILD_LLVM -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=c++17 -fPIC -Wall -Wshadow -Wundef -Wno-error=dangling-else -DGTEST_HAS_PTHREAD=1 -fexceptions -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MD -MT test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -MF test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o.d -o test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/src/gtest_main.cc [100/538] : && /usr/bin/cmake -E rm -f lib/libgmock_main.a && /usr/bin/ar qc lib/libgmock_main.a test/googletest-master/googlemock/CMakeFiles/gmock_main.dir/src/gmock_main.cc.o && /usr/bin/ranlib lib/libgmock_main.a && : [101/538] : && /usr/bin/cmake -E rm -f lib/libgtest_main.a && /usr/bin/ar qc lib/libgtest_main.a test/googletest-master/googletest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o && /usr/bin/ranlib lib/libgtest_main.a && : [102/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.cpp [103/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:73:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 73 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:85:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 85 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:109:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < mStrings.size(); i++) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:112:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 112 | if (i < mStrings.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:140:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 140 | for (int i = 0; i < Count(); i++) | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:160:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 160 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:222:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 222 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:225:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 225 | if (i < list.Count() - 1) | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [104/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [105/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [106/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:60:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:102:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 102 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 112 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ [107/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:47:57: required from ‘rrllvm::SetValueCodeGenBase::SetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [108/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:45:64: required from ‘rrllvm::SetInitialValueCodeGenBase::SetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 45 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [109/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [110/538] : && /usr/bin/cmake -E rm -f lib/libroadrunner-static.a && /usr/bin/ar qc lib/libroadrunner-static.a source/CMakeFiles/roadrunner-static.dir/rrConfig.cpp.o source/CMakeFiles/roadrunner-static.dir/rrConstants.cpp.o source/CMakeFiles/roadrunner-static.dir/rrException.cpp.o source/CMakeFiles/roadrunner-static.dir/rrGetOptions.cpp.o source/CMakeFiles/roadrunner-static.dir/rrLogger.cpp.o source/CMakeFiles/roadrunner-static.dir/rrExecutableModel.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunner.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerOptions.cpp.o source/CMakeFiles/roadrunner-static.dir/rrStringUtils.cpp.o source/CMakeFiles/roadrunner-static.dir/rrUtils.cpp.o source/CMakeFiles/roadrunner-static.dir/Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/CVODEIntegrator.cpp.o source/CMakeFiles/roadrunner-static.dir/SundialsLogger.cpp.o source/CMakeFiles/roadrunner-static.dir/Dictionary.cpp.o source/CMakeFiles/roadrunner-static.dir/GillespieIntegrator.cpp.o source/CMakeFiles/roadrunner-static.dir/RK4Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/RK45Integrator.cpp.o source/CMakeFiles/roadrunner-static.dir/rrTestSuiteModelSimulation.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniKey.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniSection.cpp.o source/CMakeFiles/roadrunner-static.dir/rrIniFile.cpp.o source/CMakeFiles/roadrunner-static.dir/rrFileName.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerData.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSelectionRecord.cpp.o source/CMakeFiles/roadrunner-static.dir/ExecutableModelFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/rrVersionInfo.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSparse.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSBMLModelSimulation.cpp.o source/CMakeFiles/roadrunner-static.dir/rrSBMLReader.cpp.o source/CMakeFiles/roadrunner-static.dir/SBMLValidator.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolver.cpp.o source/CMakeFiles/roadrunner-static.dir/Solver.cpp.o source/CMakeFiles/roadrunner-static.dir/Setting.cpp.o source/CMakeFiles/roadrunner-static.dir/ForwardSensitivitySolver.cpp.o source/CMakeFiles/roadrunner-static.dir/RegistrationFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/SensitivitySolverFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/IntegratorFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/KinsolSteadyStateSolver.cpp.o source/CMakeFiles/roadrunner-static.dir/FixedPointIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/NewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/BasicNewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/LinesearchNewtonIteration.cpp.o source/CMakeFiles/roadrunner-static.dir/KinsolErrHandler.cpp.o source/CMakeFiles/roadrunner-static.dir/SVD.cpp.o source/CMakeFiles/roadrunner-static.dir/SteadyStateSolverDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/PresimulationDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/PresimulationProgramDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/ApproxSteadyStateDecorator.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationExtension.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservationDocumentPlugin.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyPlugin.cpp.o source/CMakeFiles/roadrunner-static.dir/conservation/ConservedMoietyConverter.cpp.o source/CMakeFiles/roadrunner-static.dir/rrRoadRunnerMap.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ASTNodeFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/AssignmentRuleEvaluator.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/CodeGenBase.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalConversionFactorCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalInitialConditionsCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalReactionRatesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EvalVolatileStoichCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventAssignCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventQueue.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/EventTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/FunctionResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetEventValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/GetValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/Jit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/JitFactory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/KineticLawParameterResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLJit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLJitSectionMemory.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMCompiler.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMExecutableModel.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelData.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelDataSymbols.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelGenerator.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LLVMModelSymbols.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/LoadSymbolResolverBase.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/MCJit.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataIRBuilder.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelDataSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelGeneratorContext.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ModelResources.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/Random.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLModelObjectCache.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SBMLSupportFunctions.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SetInitialValuesCodeGen.cpp.o source/CMakeFiles/roadrunner-static.dir/llvm/SetValuesCodeGen.cpp.o && /usr/bin/ranlib lib/libroadrunner-static.a && : [111/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [112/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:56:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 56 | for (int i = 0; i < vals.size(); i++) | ~~^~~~~~~~~~~~~ [113/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:85:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 85 | for(u_int row = 0; row < mat->RSize; row++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:87:32: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 87 | for(u_int col = 0; col < mat->CSize; col++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:140:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | for(int i = 0; i < aVec.size(); i++) | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:267:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 267 | for(int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [114/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [115/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.0 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -c++ -interface _TestModelFactory -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.i [116/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.0 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests -c++ -interface _SettingTestsSwigAPI -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/cxx_api_tests/CMakeFiles/SettingTestsSwigAPI.dir/SettingTestsSwigAPIPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/cxx_api_tests/SettingTestsSwigAPI.i [117/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.0 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig -c++ -interface _picklable_swig -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/serialization/PickledSwig/CMakeFiles/picklable_swig.dir/picklable_swigPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/serialization/PickledSwig/picklable_swig.i [118/538] cd /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner && /usr/bin/cmake -E make_directory /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir && /usr/bin/cmake -E env SWIG_LIB=/usr/share/swig/4.5.0 /usr/bin/swig -python -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/ -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/usr/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/rr-libstruct -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -threads -doxygen -keyword -outdir /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner -c++ -interface _roadrunner -o /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:273: Warning 127: %typedef directive is deprecated, use plain typedef instead /usr/share/swig/4.5.0/python/pyiterators.swg:449: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(ptrdiff_t) const). /usr/share/swig/4.5.0/python/pyiterators.swg:450: Warning 511: Can't use keyword arguments with overloaded functions (swig::SwigPyIterator::operator -(swig::SwigPyIterator const &) const). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__delitem__(std::vector< int >::difference_type)). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__getitem__(std::vector< int >::difference_type) const). /usr/share/swig/4.5.0/std/std_vector.i:91: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::vector(std::vector< int > const &)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::vector(std::vector< int >::size_type)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::resize(std::vector< int >::size_type)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::erase(std::vector< int >::iterator)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::erase(std::vector< int >::iterator,std::vector< int >::iterator)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::vector(std::vector< int >::size_type,std::vector< int >::value_type const &)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::resize(std::vector< int >::size_type,std::vector< int >::value_type const &)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::value_type const &)). /usr/share/swig/4.5.0/std/std_vector.i:94: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< int >::insert(std::vector< int >::iterator,std::vector< int >::size_type,std::vector< int >::value_type const &)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__delitem__(std::vector< rr::Dictionary const * >::difference_type)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__getitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< rr::Dictionary const *,std::allocator< rr::Dictionary const * > > const &)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__setitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__delitem__(SWIGPY_SLICEOBJECT *)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__getitem__(std::vector< rr::Dictionary const * >::difference_type)). /usr/share/swig/4.5.0/std/std_vector.i:172: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::__setitem__(std::vector< rr::Dictionary const * >::difference_type,std::vector< rr::Dictionary const * >::value_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::vector(std::vector< rr::Dictionary const * > const &)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::vector(std::vector< rr::Dictionary const * >::size_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::resize(std::vector< rr::Dictionary const * >::size_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::erase(std::vector< rr::Dictionary const * >::iterator)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::erase(std::vector< rr::Dictionary const * >::iterator,std::vector< rr::Dictionary const * >::iterator)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::vector(std::vector< rr::Dictionary const * >::size_type,std::vector< rr::Dictionary const * >::value_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::resize(std::vector< rr::Dictionary const * >::size_type,std::vector< rr::Dictionary const * >::value_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::insert(std::vector< rr::Dictionary const * >::iterator,std::vector< rr::Dictionary const * >::value_type)). /usr/share/swig/4.5.0/std/std_vector.i:175: Warning 511: Can't use keyword arguments with overloaded functions (std::vector< rr::Dictionary const * >::insert(std::vector< rr::Dictionary const * >::iterator,std::vector< rr::Dictionary const * >::size_type,std::vector< rr::Dictionary const * >::value_type)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:145: Warning 476: Initialization using std::initializer_list. /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:145: Warning 511: Can't use keyword arguments with overloaded functions (rr::BasicDictionary::BasicDictionary(std::initializer_list< rr::BasicDictionary::item >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:197: Warning 511: Can't use keyword arguments with overloaded functions (rr::LoadSBMLOptions::LoadSBMLOptions(rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:206: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:356: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesAmounts(size_t,int const *,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:368: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesAmounts(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:467: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:537: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,int const *,double const *,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:629: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setStoichiometry(int,double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:638: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setStoichiometry(int,int,double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:645: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:652: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometry(int,int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:659: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getInitStoichiometry(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:666: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getInitStoichiometry(int,int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:743: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:749: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getStoichiometryIndex(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:931: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEventIds(std::list< std::string,std::allocator< std::string > > &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:963: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::reset(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2465: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2475: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrationRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2485: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getFloatingSpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2495: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesAmounts(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2505: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getBoundarySpeciesConcentrations(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2514: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getGlobalParameterValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2524: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getCompartmentVolumes(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2534: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getConservedMoietyValues(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2544: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getReactionRates(size_t,int const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2647: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2651: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2655: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2659: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2663: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2667: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setConservedMoietyValues(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2671: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitConcentrations(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2675: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitAmounts(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2679: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentInitVolumes(size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2690: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesAmounts(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2701: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2711: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setBoundarySpeciesConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2721: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setGlobalParameterValues(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2731: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentVolumes(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2741: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setConservedMoietyValues(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2751: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitConcentrations(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2762: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setFloatingSpeciesInitAmounts(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2773: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::setCompartmentInitVolumes(size_t,int const *,size_t,double const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2845: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:2866: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModel::getEvent(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.h:1052: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:34: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModelFactory::createModel(::SBMLDocument const *,std::string const &,rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:43: Warning 511: Can't use keyword arguments with overloaded functions (rr::ExecutableModelFactory::createModel(std::istream &,uint)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:67: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(unsigned int,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:80: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(std::string const &,rr::Dictionary const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:98: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::RoadRunner(rr::RoadRunner const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:520: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::reset(int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:571: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:980: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getuEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:987: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getuEE(std::string const &,std::string const &,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:992: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getEE(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:999: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getEE(std::string const &,std::string const &,bool)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/roadrunner.i:1186: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunner::getValue(rr::SelectionRecord const *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:51: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::RoadRunnerMap(std::vector< std::string,std::allocator< std::string > > const &,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:101: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:112: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:123: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::insert(std::vector< std::string,std::allocator< std::string > > const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:199: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::at(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.h:201: Warning 511: Can't use keyword arguments with overloaded functions (rr::RoadRunnerMap::at(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:427: Warning 511: Can't use keyword arguments with overloaded functions (rr::SelectionRecord::SelectionRecord(int const &,rr::SelectionRecord::SelectionType const,std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:432: Warning 511: Can't use keyword arguments with overloaded functions (rr::SelectionRecord::SelectionRecord(std::string const)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.h:447: Warning 511: Can't use keyword arguments with overloaded functions (rr::operator <<(std::ostream &,rr::SelectionRecord const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:164: Warning 511: Can't use keyword arguments with overloaded functions (rr::Solver::getHint(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:170: Warning 511: Can't use keyword arguments with overloaded functions (rr::Solver::getDescription(std::string const &) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:167: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:171: Warning 511: Can't use keyword arguments with overloaded functions (rr::IntegratorException::IntegratorException(std::string const &,std::string const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.h:63: Warning 511: Can't use keyword arguments with overloaded functions (rr::validateSBML(std::string const,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.h:66: Warning 511: Can't use keyword arguments with overloaded functions (rr::validateSBML(::SBMLDocument *,unsigned int)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:77: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setFScale(double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:83: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setFScale(std::vector< double,std::allocator< double > > const &)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:88: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setUScale(double)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:94: Warning 511: Can't use keyword arguments with overloaded functions (rr::KinsolSteadyStateSolver::setUScale(std::vector< double,std::allocator< double > >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:27: Warning 511: Can't use keyword arguments with overloaded functions (rr::BasicNewtonIteration::BasicNewtonIteration(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:29: Warning 511: Can't use keyword arguments with overloaded functions (rr::LinesearchNewtonIteration::LinesearchNewtonIteration(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:39: Warning 511: Can't use keyword arguments with overloaded functions (rr::ForwardSensitivitySolver::ForwardSensitivitySolver(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:41: Warning 511: Can't use keyword arguments with overloaded functions (rr::ForwardSensitivitySolver::ForwardSensitivitySolver(rr::ExecutableModel *,std::vector< std::string,std::allocator< std::string > >)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:58: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:229: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(int) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:235: Warning 511: Can't use keyword arguments with overloaded functions (rr::CVODEIntegrator::ToString(size_t) const). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:235: Warning 509: Overloaded method rr::CVODEIntegrator::ToString(size_t) const effectively ignored, /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:229: Warning 509: as it is shadowed by rr::CVODEIntegrator::ToString(int) const. /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:40: Warning 511: Can't use keyword arguments with overloaded functions (rr::GillespieIntegrator::GillespieIntegrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:44: Warning 511: Can't use keyword arguments with overloaded functions (rr::RK4Integrator::RK4Integrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.h:41: Warning 511: Can't use keyword arguments with overloaded functions (rr::RK45Integrator::RK45Integrator(rr::ExecutableModel *)). /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:74: Warning 511: Can't use keyword arguments with overloaded functions (rr::EulerIntegrator::EulerIntegrator(rr::ExecutableModel *)). [119/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrException.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrException.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrException.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrException.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [120/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrConstants.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConstants.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [121/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrGetOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrGetOptions.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [122/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrExecutableModel.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [123/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrConfig.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: In static member function ‘static std::vector > rr::Config::getKeyList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:301:25: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=] 301 | catch (std::runtime_error) { | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.cpp:66:24: warning: ‘std::string rr::strip(const std::string&)’ defined but not used [-Wunused-function] 66 | static std::string strip(const std::string& in) { | ^~~~~ [124/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrLogger.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [125/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrStringUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::removeChars(const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:84:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 84 | for(int chrNr = 0; chrNr < chars.size(); chrNr++) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘size_t rr::findMatchingRightParenthesis(const std::string&, size_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:105:12: warning: unused variable ‘leftPos’ [-Wunused-variable] 105 | size_t leftPos = expression.find("(", startFrom); //First lef parenthesis | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘int rr::getNumberOfFunctionArguments(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | for(int i = 0; i < expression.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::dblToStr(const double&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:498:11: warning: unused variable ‘ptr’ [-Wunused-variable] 498 | char* ptr = gcvt(nt, sig, str); | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp: In function ‘std::string rr::toString(const std::vector >&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:904:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 904 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:907:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | if(i < vec.size() - 1) | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [126/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerOptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:6: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 6 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘void rr::SimulateOptions::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:133:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 133 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:161:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 161 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:172:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 172 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:183:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < vars.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp: In member function ‘virtual void rr::SimulateOptions::initialize()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:279:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 279 | if (steps != times.size() - 1) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Ind ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Ind ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.cpp:399:96: required from here 399 | (Config::LLVM_BACKEND_VALUES) Config::getValue(Config::LLVM_BACKEND).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [127/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::cleanFolder(const std::string&, const std::string&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:70:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for(int i = 0; i < extensions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘std::string rr::getFileContent(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 318 | for(int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyValues(std::vector&, double*, const int&, const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:574:46: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 574 | if(!dest.size() || !source || startIndex > dest.size()) | ~~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, double*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:590:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 590 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘bool rr::copyStdVectorToCArray(const std::vector&, bool*, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:605:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 605 | if((size && !dest) || size > src.size()) | ~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp: In function ‘double* rr::createVector(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:692:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 692 | for(int i = 0; i < vec.size(); i++) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.cpp:38: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [128/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [129/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o -MF source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SundialsLogger.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SundialsLogger.cpp [130/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_c_api_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:68: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:647:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 647 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1463:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1463 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1512:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1512 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2511:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2956:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2956 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2964:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2964 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2969:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2969 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2974:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2974 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3089:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3089 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3097:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3097 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3102:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3102 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3107 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3167:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3167 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3180:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3180 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3197:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3197 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3204:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3204 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3209:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3209 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3214:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3214 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3235 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3242:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3242 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3247 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3252:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3252 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3274:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3274 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3281:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3281 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3286:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3286 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3291:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3291 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3296:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3296 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3318 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3325:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3325 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3331:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3331 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3337:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3337 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3343:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3343 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3371:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3371 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3385:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3385 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3411:26: warning: unused variable ‘o’ [-Wunused-variable] 3411 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3432:26: warning: unused variable ‘o’ [-Wunused-variable] 3432 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3496 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3586:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3586 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:57: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:49: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3175:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3175 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3162:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3162 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [131/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o -MF source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Dictionary.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.cpp [132/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RK4Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp: In member function ‘virtual double rr::RK4Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:72:29: warning: unused variable ‘epsilon’ [-Wunused-variable] 72 | static const double epsilon = 1e-12; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:73:16: warning: variable ‘tf’ set but not used [-Wunused-but-set-variable=] 73 | double tf = 0; | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.cpp:74:14: warning: variable ‘singleStep’ set but not used [-Wunused-but-set-variable=] 74 | bool singleStep; | ^~~~~~~~~~ [133/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/GillespieIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp: In member function ‘void rr::GillespieIntegrator::setEngineSeed(rr::Setting)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:586:18: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 586 | if (seed != -1) { | ~~~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/GillespieIntegrator.cpp:458:31: required from here 458 | if ((bool)getValue("nonnegative")) { | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [134/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RK45Integrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp: In member function ‘virtual double rr::RK45Integrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:212:27: warning: comparison of integer expressions of different signedness: ‘integer’ {aka ‘int’} and ‘unsigned int’ [-Wsign-compare] 212 | for (i = 0; i < stateVectorSize; i++) { | ~~^~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:92:46: required from here 92 | const double hmin = (double) getValue("minimum_time_step"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK45Integrator.cpp:95:45: required from here 95 | const bool varStep = (bool) getValue("variable_step_size"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [135/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrTestSuiteModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::LoadReferenceData(std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:113:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 113 | for (int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp: In member function ‘bool rr::TestSuiteModelSimulation::SaveAllData()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:240:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 240 | for (int i = 0; i < err_names.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:5, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [136/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniKey.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniKey.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [137/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o -MF source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/CVODEIntegrator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h: In constructor ‘rr::CVODEIntegrator::CVODEIntegrator(rr::ExecutableModel*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:268:18: warning: ‘rr::CVODEIntegrator::mStateVector’ will be initialized after [-Wreorder] 268 | N_Vector mStateVector = nullptr; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:267:15: warning: ‘void* rr::CVODEIntegrator::mCVODE_Memory’ [-Wreorder] 267 | void *mCVODE_Memory = nullptr; | ^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:337:14: warning: ‘rr::CVODEIntegrator::stateVectorVariables’ will be initialized after [-Wreorder] 337 | bool stateVectorVariables; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:276:14: warning: ‘bool rr::CVODEIntegrator::variableStepPendingEvent’ [-Wreorder] 276 | bool variableStepPendingEvent; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:85:5: warning: when initialized here [-Wreorder] 85 | CVODEIntegrator::CVODEIntegrator(ExecutableModel *aModel) | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::checkVectorSize(int, size_t) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:134:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 134 | if (expected != real) | ~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::loadSBMLSettings(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:258:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 258 | for (int i = 0; i < lines.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual void rr::CVODEIntegrator::tweakTolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:609:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 609 | for (int i = 0; i < v.size(); i++) | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘virtual std::vector rr::CVODEIntegrator::getAbsoluteToleranceVector()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:861:46: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 861 | if (amount_tolerances.size() == species + rrs) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp: In member function ‘void rr::CVODEIntegrator::setCVODETolerances()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:958:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 958 | for (int i = 0; i < amount_tolerances.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = bool]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:355:42: required from here 355 | if (getValue("stiff").getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:358:49: required from here 358 | if (newValue <= oldOrderValue.getAs()) { | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.cpp:390:66: required from here 390 | CVodeSetInitStep(mCVODE_Memory, (double) getValue("initial_time_step")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [138/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniSection.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp: In member function ‘rr::IniKey* rr::IniSection::GetKey(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:75:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 75 | if (keyNr < mKeys.size()) | ~~~~~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniSection.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [139/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrFileName.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrFileName.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [140/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrIniFile.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h: In constructor ‘rr::IniFile::IniFile(const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:58:29: warning: ‘rr::IniFile::mAutoSave’ will be initialized after [-Wreorder] 58 | bool mAutoSave; //Save ini file automatically on destruction | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘const int rr::IniFile::mAutoCreateKeys’ [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:42:29: warning: ‘rr::IniFile::mAutoCreateKeys’ will be initialized after [-Wreorder] 42 | const int mAutoCreateKeys; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:38:29: warning: ‘const int rr::IniFile::mAutoCreateSections’ [-Wreorder] 38 | const int mAutoCreateSections; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:20:9: warning: when initialized here [-Wreorder] 20 | IniFile::IniFile(const std::string& szFileName, bool autoLoad, bool autoSave) | ^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [141/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSelectionRecord.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSelectionRecord.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [142/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const std::vector >&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:126:34: warning: ‘std::vector > rr::RoadRunnerData::mColumnNames’ [-Wreorder] 126 | std::vector mColumnNames; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:32:1: warning: when initialized here [-Wreorder] 32 | RoadRunnerData::RoadRunnerData(const std::vector& colNames, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h: In constructor ‘rr::RoadRunnerData::RoadRunnerData(const rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:146:13: warning: ‘rr::RoadRunnerData::mDataPrecision’ will be initialized after [-Wreorder] 146 | int mDataPrecision; //The precision when saved to file | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.h:131:22: warning: ‘ls::DoubleMatrix rr::RoadRunnerData::mTheData’ [-Wreorder] 131 | DoubleMatrix mTheData; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:41:1: warning: when initialized here [-Wreorder] 41 | RoadRunnerData::RoadRunnerData(const RoadRunner* rr) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:55:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 55 | for(int i = 0; i < sel.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::append(const rr::RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:168:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 168 | for(int row = 0; row < mTheData.RSize(); row++) | ~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnName(int) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:190:12: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 190 | if(col < mColumnNames.size()) | ~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘std::string rr::RoadRunnerData::getColumnNamesAsString() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:226:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 226 | for(int i = 0; i < mColumnNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:229:14: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 229 | if(i < mColumnNames.size() -1) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In member function ‘bool rr::RoadRunnerData::loadSimpleFormat(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:329:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 329 | for(int i = 0; i < mTheData.RSize(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:332:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 332 | for(int j = 0; j < aLine.size(); j++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp: In function ‘std::istream& rr::operator>>(std::istream&, RoadRunnerData&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:521:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 521 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:525:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 525 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:549:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 549 | for(int row = 0; row < lines.size(); row++) | ~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:553:25: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 553 | if(aLine.size() != cDim) | ~~~~~~~~~~~~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerData.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [143/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrVersionInfo.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrVersionInfo.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [144/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSparse.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSparse.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [145/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ExecutableModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.cpp:19: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [146/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSBMLReader.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp: In function ‘std::string rr::flatten_comp(const std::string&, std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.cpp:221:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 221 | for (int i = 0; i < log->getNumErrors(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~~ [147/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunner.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const rr::Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:272:9: warning: when initialized here [-Wreorder] 272 | RoadRunnerImpl(const std::string &uriOrSBML, const Dictionary *dict) : | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In constructor ‘rr::RoadRunnerImpl::RoadRunnerImpl(const std::string&, const std::string&, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:253:25: warning: ‘rr::RoadRunnerImpl::simulateOpt’ will be initialized after [-Wreorder] 253 | SimulateOptions simulateOpt; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:206:13: warning: ‘int rr::RoadRunnerImpl::mInstanceID’ [-Wreorder] 206 | int mInstanceID; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:289:9: warning: when initialized here [-Wreorder] 289 | RoadRunnerImpl(const std::string &_compiler, const std::string &_tempDir, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredIntegratorNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:891:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 891 | for (int n = 0; n < IntegratorFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSteadyStateSolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:899:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 899 | for (int n = 0; n < SteadyStateSolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In static member function ‘static std::vector > rr::RoadRunner::getRegisteredSensitivitySolverNames()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:907:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 907 | for (int n = 0; n < SensitivitySolverFactory::getInstance().size(); ++n) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1065:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1065 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1078:18: warning: catching polymorphic type ‘class rr::NotImplementedException’ by value [-Wcatch-value=] 1078 | } catch (NotImplementedException) { | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1093:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1093 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createTimeCourseSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1112 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getValue(const rr::SelectionRecord&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1183:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1183 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1198:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1198 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1211:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1211 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1224:29: warning: catching polymorphic type ‘class std::out_of_range’ by value [-Wcatch-value=] 1224 | catch (std::out_of_range) { | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1237:29: warning: catching polymorphic type ‘class std::invalid_argument’ by value [-Wcatch-value=] 1237 | catch (std::invalid_argument) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1316:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1316 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1334:32: warning: comparison of integer expressions of different signedness: ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1334 | if (eig.size() <= index) { | ~~~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::populateResult()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1601:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1601 | for (int i = 0; i < impl->mSelectionList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘bool rr::hasTime(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2027:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2027 | for (int c = 0; c < astn->getNumChildren(); c++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘const ls::DoubleMatrix* rr::RoadRunner::simulate(const rr::SimulateOptions*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2067:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2067 | for (int e = 0; e < loe->size(); e++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2081:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2081 | for (int r = 0; r < lor->size(); r++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2089:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2089 | for (int r = 0; r < lorules->size(); r++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2137:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2137 | for (int i = 1; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2182:55: warning: comparison of integer expressions of different signedness: ‘std::__cxx11::list >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2182 | if (writeToFile && results.size() >= kRowsPerWrite) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2216:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2216 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2241:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2241 | for (int n = 0; n < row.size(); ++n) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2388:28: warning: unused variable ‘itime’ [-Wunused-variable] 2388 | double itime = self.integrator->integrate(tout, next - tout); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2556:24: warning: unused variable ‘ls’ [-Wunused-variable] 2556 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2577:24: warning: unused variable ‘ls’ [-Wunused-variable] 2577 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2644:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2644 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2660:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2660 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getIndependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2676:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2676 | for (int i = 0; i < num_ind; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getDependentFloatingSpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2692:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2692 | for (int i = 0; i < num_dep; i++) { | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getIndependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2778:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2778 | for (int i = 0; i < nindep; ++i) { | ~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getDependentRatesOfChange()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:2814:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2814 | for (int i = 0; i < ndep; ++i) { | ~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getFullJacobian()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3354:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3354 | for (int i= 0; i < jac.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3359:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3359 | for (int j = 0; j < jac.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3351:17: warning: unused variable ‘jacCols’ [-Wunused-variable] 3351 | int jacCols = jac.CSize(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getConservationMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3596:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3596 | for (int row = 0; row < mat.RSize(); row++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3597:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 3597 | for (int col = 0; col < mat.CSize(); col++) { | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘size_t rr::RoadRunner::createDefaultSteadyStateSelectionList()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3680:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3680 | for (int i = 0; i < numFloatingSpecies; i++) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSteadyStateValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3705:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3705 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector > rr::RoadRunner::getSteadyStateSelectionStrings() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3714:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3714 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSteadyStateValuesNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3732:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3732 | for (int i = 0; i < impl->mSteadyStateSelection.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesConcentrationsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3968:24: warning: unused variable ‘ls’ [-Wunused-variable] 3968 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getBoundarySpeciesAmountsNamedArray()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3990:24: warning: unused variable ‘ls’ [-Wunused-variable] 3990 | LibStructural *ls = getLibStruct(); | ^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getGlobalParameterByIndex(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4231:21: warning: unused variable ‘arraySize’ [-Wunused-variable] 4231 | int arraySize = impl->model->getNumGlobalParameters(); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘double rr::RoadRunner::getUnscaledSpeciesElasticity(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4544:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 4544 | for (int i = 0; i < currentVals.size() - 1; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledElasticityMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4713:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4713 | for (int i = 0; i < uelast.RSize(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4714:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4714 | for (int j = 0; j < uelast.CSize(); j++) // Columns are species | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledConcentrationControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4837:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4837 | for (int i = 0; i < ucc.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4838:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4838 | for (int j = 0; j < ucc.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getUnscaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4861:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4861 | for (int i = 0; i < T1.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getScaledFluxControlCoefficientMatrix()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4892:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4892 | for (int i = 0; i < ufcc.RSize(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4900:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4900 | for (int j = 0; j < ufcc.CSize(); j++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::string rr::RoadRunner::getSBML(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4976:88: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 4976 | if (level > 0 && version > 0 && level != impl->document->getLevel() && version != impl->document->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘SBMLDocument* rr::RoadRunner::getCurrentSBMLDocument(int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5006:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5006 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5021:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5021 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5036:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5036 | for (int i = 0; i < array.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5042:30: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 5042 | catch(std::exception e) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:45: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5074:75: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5074 | if (level > 0 && version > 0 && level != doc->getLevel() && version != doc->getVersion()) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::updateStoichiometriesWith(SBMLDocument*, rr::ExecutableModel*, std::vector >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5090:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5090 | for (int nr = 0; nr < rxnids.size(); nr++) { | ~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘std::vector rr::RoadRunner::getSelectedValues()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5225:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5225 | for (int i = 0; i < impl->mSelectionList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5489:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5489 | for (int i = 0; i < _selList.size(); ++i) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5500:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5500 | for (int i = 0; i < selstr.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::setSteadyStateSelections(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5513:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5513 | for (int i = 0; i < ss.size(); ++i) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::Matrix rr::RoadRunner::getFrequencyResponse(double, int, int, const std::string&, const std::string&, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5577:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5577 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5604:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5604 | for (int i = 0; i < Id.RSize(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5628:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5628 | for (int j = 0; j < reactionNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:5643:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5643 | for (int j = 0; j < speciesNames.size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadStateS(std::stringstream*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6306:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6306 | for (int i = 0; i < loadOptSize; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6360 | for (int i = 0; i < integratorNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6374 | for (int i = 0; i < solverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6388:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 6388 | for (int i = 0; i < sensSolverNumParams; i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::loadSelectionVector(std::istream&, std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6411:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6411 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘ls::DoubleMatrix rr::RoadRunner::getSubStoichiometryMatrix(bool, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6453:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6453 | for (int k = 0; k < r->getNumReactants(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6471:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 6471 | for (int k = 0; k < r->getNumProducts(); ++k) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:184:36: warning: unused variable ‘self’ [-Wunused-variable] 184 | #define get_self() RoadRunnerImpl& self = *(this->impl); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6424:9: note: in expansion of macro ‘get_self’ 6424 | get_self(); | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeSpecies(const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6634:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6634 | for (uint i = 0; i < numReaction; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::addReaction(const std::string&, std::vector >, std::vector >, const std::string&, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6894:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6894 | for (int i = 0; i < reactants.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6913:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (int i = 0; i < products.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::isParameterUsed(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7002:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7002 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::regenerateModel(bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7761:33: warning: unused variable ‘tolType’ [-Wunused-variable] 7761 | Setting::TypeId tolType = absTol.type(); | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::removeVariable(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7837:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7837 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7901:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7901 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7914:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7914 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7926:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7926 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7946:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7946 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7959:28: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7959 | for (uint i = 0; i < num; i++) { | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7994:32: warning: comparison of integer expressions of different signedness: ‘uint’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7994 | for (uint j = 0; j < numAssign; j++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘bool rr::RoadRunner::hasVariable(const ASTNode*, const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8023:21: warning: unused variable ‘temp’ [-Wunused-variable] 8023 | const char *temp = node->getName(); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In member function ‘void rr::RoadRunner::getSpeciesIdsFromAST(const ASTNode*, std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8039:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8039 | for (int i = 0; i < sbmlSpecies->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleVectorListToStream(std::ostream&, const DoubleVectorList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8100:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8100 | for (int i = 1; i < row.size(); i++) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: In function ‘void rr::writeDoubleMatrixToStream(std::ostream&, const ls::DoubleMatrix&, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8113:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 8113 | for (int col = 1; col < results.numCols(); col++) { | ~~~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:6315:23: required from here 6315 | rr::loadBinary(*in, colNames); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3429:83: required from here 3429 | if (Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs() | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:8079:71: required from here 8079 | return integrator->getValue("seed").getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs >() const:: [with auto:29 = const std::__cxx11::basic_string&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs >() const::&; _Args = {const std::__cxx11::basic_string, std::allocator >&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::&, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs >() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result >() const::, const std::__cxx11::basic_string, std::allocator >&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator std::__cxx11::basic_string >() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = __cxx11::basic_string]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = std::__cxx11::basic_string]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1035:37: required from here 1035 | return impl->loadOpt.getItem("tempDir"); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:1640:45: required from here 1640 | if (getSteadyStateSolver()->getValue("auto_moiety_analysis")) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:4948:24: warning: ‘std::string rr::convertSBMLVersion(const std::string&, int, int)’ defined but not used [-Wunused-function] 4948 | static std::string convertSBMLVersion(const std::string &str, int level, int version) { | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.cpp:3835:17: warning: ‘void rr::setSpeciesAmount(Model*, const std::string&, double)’ defined but not used [-Wunused-function] 3835 | static void setSpeciesAmount(::Model *model, const std::string &id, double value) { | ^~~~~~~~~~~~~~~~ [148/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o -MF source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SBMLValidator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SBMLValidator.cpp [149/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Solver.cpp.o -MF source/CMakeFiles/roadrunner.dir/Solver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Solver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.cpp [150/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrSBMLModelSimulation.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h: In constructor ‘rr::SBMLModelSimulation::SBMLModelSimulation(std::filesystem::__cxx11::path, std::filesystem::__cxx11::path)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:25:38: warning: ‘rr::SBMLModelSimulation::mModelFilePath’ will be initialized after [-Wreorder] 25 | std::filesystem::path mModelFilePath; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:24:38: warning: ‘std::string rr::SBMLModelSimulation::mModelFileName’ [-Wreorder] 24 | std::string mModelFileName; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:32:38: warning: ‘rr::SBMLModelSimulation::mCompileIfDllExists’ will be initialized after [-Wreorder] 32 | bool mCompileIfDllExists; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:29:38: warning: ‘std::filesystem::__cxx11::path rr::SBMLModelSimulation::mTempDataFolder’ [-Wreorder] 29 | std::filesystem::path mTempDataFolder; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:18:5: warning: when initialized here [-Wreorder] 18 | SBMLModelSimulation::SBMLModelSimulation(std::filesystem::path dataOutputFolder, std::filesystem::path tempDataFilePath) | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp: In member function ‘void rr::SBMLModelSimulation::loadSBMLTolerances(const std::filesystem::__cxx11::path&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.cpp:132:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 132 | for (int i = 0; i < lines.size(); i++) | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLModelSimulation.h:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [151/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/Setting.cpp.o -MF source/CMakeFiles/roadrunner.dir/Setting.cpp.o.d -o source/CMakeFiles/roadrunner.dir/Setting.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp: In member function ‘std::string rr::Setting::toString()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:168:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 168 | for (int i = 0; i < v->size(); i++) { | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:169:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | if (i == v->size() - 1) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:164:18: warning: unused variable ‘v’ [-Wunused-variable] 164 | if (auto v = get_if()) { | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [152/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/RegistrationFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.cpp [153/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SteadyStateSolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverFactory.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [154/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SteadyStateSolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQSolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NLEQ1Solver.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:18: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.cpp:65:76: required from here 65 | addSetting("presimulation_maximum_steps", Setting((double) getValue("presimulation_time") * 100), | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [155/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SensitivitySolverFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [156/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ForwardSensitivitySolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘void rr::ForwardSensitivitySolver::deducePlist()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:556:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 556 | for (int i = 0; i < whichParameters.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘virtual rr::Matrix rr::ForwardSensitivitySolver::getSensitivityMatrix(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:583:14: warning: unused variable ‘print’ [-Wunused-variable] 583 | auto print = stateVector->ops->nvprint; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:585:14: warning: unused variable ‘len’ [-Wunused-variable] 585 | auto len = stateVector->ops->nvgetlength; | ^~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h: In instantiation of ‘void rr::Matrix3D::setKthMatrix(int, IndexType, rr::Matrix) [with IndexType = double; DataType = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:688:29: required from here 688 | results.setKthMatrix(0, t, getSensitivityMatrix(k)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:212:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 212 | if (numRows() != data.numRows() || numCols() != data.numCols()) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h: In instantiation of ‘void rr::Matrix::deleteCol(int) [with T = double]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:411:22: required from ‘void rr::Matrix::deleteCol(const std::string&) [with T = double; std::string = std::__cxx11::basic_string]’ 411 | deleteCol(idx); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:384:36: required from ‘void rr::Matrix3D::deleteCol(const std::string&) [with IndexType = double; DataType = double; std::string = std::__cxx11::basic_string]’ 384 | submatrix.deleteCol(which); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:714:38: required from here 714 | results.deleteCol(s); | ~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:366:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 366 | if (which > numCols() - 1) { | ~~~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:17, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:239:28: required from here 239 | if ((bool) getValue("stiff")) { | ~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 7 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:351:37: required from ‘std::string rr::decodeSundialsError(SundialsType*, int, bool) [with SundialsType = ForwardSensitivitySolver; std::string = std::__cxx11::basic_string]’ 351 | ss << (int) solver->getValue("maximum_num_steps"); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:81:98: required from here 81 | rrLog(Logger::LOG_ERROR) << "ForwardSensitivitySolver Error: " << decodeSundialsError(i, error_code, false) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp: In member function ‘rr::ForwardSensitivitySolver::create()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:358:38: warning: ‘sensi_meth’ may be used uninitialized [-Wmaybe-uninitialized] 358 | if ((err = CVodeSensInit1(cvodeIntegrator->mCVODE_Memory, Ns, sensi_meth, NULL, mSensitivityMatrix))) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:351:17: note: ‘sensi_meth’ was declared here 351 | int sensi_meth; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:377:44: warning: ‘dq_method’ may be used uninitialized [-Wmaybe-uninitialized] 377 | if ((err = CVodeSetSensDQMethod(cvodeIntegrator->mCVODE_Memory, dq_method, 1))) { | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.cpp:370:17: note: ‘dq_method’ was declared here 370 | int dq_method; | ^~~~~~~~~ [157/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/FixedPointIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp: In member function ‘virtual void rr::FixedPointIteration::createKinsol()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:30:13: warning: unused variable ‘stateVectorSize’ [-Wunused-variable] 30 | int stateVectorSize = mModel->getStateVector(nullptr); | ^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:48:57: required from here 48 | KINSetDampingAA(mKinsol_Memory, (double)getValue("damping_aa")); | ~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator long int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator long int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = long int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/FixedPointIteration.cpp:49:49: required from here 49 | KINSetMAA(mKinsol_Memory, (long)getValue("maa")); | ~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [158/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/IntegratorFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RegistrationFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/IntegratorFactory.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:20: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [159/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/NewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [160/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/BasicNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/BasicNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [161/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o -MF source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o.d -o source/CMakeFiles/roadrunner.dir/LinesearchNewtonIteration.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/NewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/LinesearchNewtonIteration.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ [162/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/SVD.cpp.o -MF source/CMakeFiles/roadrunner.dir/SVD.cpp.o.d -o source/CMakeFiles/roadrunner.dir/SVD.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp: In member function ‘int rr::SVD::rank(double) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SVD.cpp:92:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 92 | for (int i=0; i(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setFScale(const std::vector&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:211:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 211 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp: In member function ‘void rr::KinsolSteadyStateSolver::setUScale(std::vector)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:228:26: warning: comparison of integer expressions of different signedness: ‘std::vector::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 228 | if (value.size() != stateSize) { | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:84:28: required from here 84 | if (!(bool)getValue("allow_negative")) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:272:56: required from here 272 | KINSetNumMaxIters(mKinsol_Memory, (int)getValue("num_max_iters")); | ~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.cpp:278:61: required from here 278 | KINSetEtaConstValue(mKinsol_Memory, (double)getValue("eta_constant_value")); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [166/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservationExtension.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationExtension.cpp [167/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservationDocumentPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservationDocumentPlugin.cpp [168/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/PresimulationProgramDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationProgramDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [169/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyPlugin.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyPlugin.cpp [170/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/PresimulationDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/PresimulationDecorator.cpp:30:62: required from here 30 | integrator.integrate(0, (double)solver_->getValue("presimulation_time")); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [171/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o -MF source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o.d -o source/CMakeFiles/roadrunner.dir/conservation/ConservedMoietyConverter.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:142:1: warning: when initialized here [-Wreorder] 142 | ConservedMoietyConverter::ConservedMoietyConverter() : | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h: In copy constructor ‘rr::conservation::ConservedMoietyConverter::ConservedMoietyConverter(const rr::conservation::ConservedMoietyConverter&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:168:14: warning: ‘rr::conservation::ConservedMoietyConverter::mModel’ will be initialized after [-Wreorder] 168 | ::Model *mModel; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.h:159:24: warning: ‘ls::LibStructural* rr::conservation::ConservedMoietyConverter::structural’ [-Wreorder] 159 | ls::LibStructural *structural; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:151:1: warning: when initialized here [-Wreorder] 151 | ConservedMoietyConverter::ConservedMoietyConverter( | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createReorderedSpecies(Model*, Model*, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:478:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 478 | for (int i = 0; i < indSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:487:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 487 | for (int i = 0; i < depSpecies.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::createDependentSpeciesRules(Model*, const ls::DoubleMatrix&, const std::vector >&, const std::vector >&, const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:623:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 623 | for (int j = 0; j < indSpecies.size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp: In function ‘void rr::conservation::conservedMoietyCheck(const SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:819:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 819 | for(int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:859:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 859 | for(int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:865:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 865 | for (int i = 0; i < references->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:892:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 892 | for(int i = 0; i < events->size(); ++i) | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:898:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 898 | for(int j = 0; j < assignments->size(); ++j) | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/conservation/ConservedMoietyConverter.cpp:35: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [172/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o -MF source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/ApproxSteadyStateDecorator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/CVODEIntegrator.h:26, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp: In member function ‘virtual double rr::ApproxSteadyStateDecorator::solve()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:33:24: warning: unused variable ‘numVariables’ [-Wunused-variable] 33 | const int &numVariables = model->getStateVector(nullptr); | ^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolver.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SteadyStateSolverDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:24:49: required from here 24 | const double &end = (double)getValue("approx_time"); | ~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ApproxSteadyStateDecorator.cpp:25:45: required from here 25 | const int &steps = (int)getValue("approx_maximum_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [173/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeFactory.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [174/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o -MF source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o.d -o source/CMakeFiles/roadrunner.dir/rrRoadRunnerMap.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerMap.cpp [175/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/AssignmentRuleEvaluator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/AssignmentRuleEvaluator.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [176/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/CodeGenBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [177/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalConversionFactorCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalConversionFactorCodeGen.cpp:31:65: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [178/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ASTNodeCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:12: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 12 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::rateOfCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:720:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 720 | for (int rxn = 0; rxn < model->getNumReactions(); rxn++) { | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp: In member function ‘llvm::Value* rrllvm::ASTNodeCodeGen::applyScalarRelationalCodeGen(const ASTNode*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:970:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 970 | for (int i = 3; i < numKids; i++) { | ~~^~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ASTNodeCodeGen.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [179/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalInitialConditionsCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp: In member function ‘void rrllvm::EvalInitialConditionsCodeGen::codeGenStoichiometry(llvm::Value*, rrllvm::ModelDataStoreSymbolResolver&, rrllvm::LoadSymbolResolver&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.h:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalInitialConditionsCodeGen.cpp:35:59: required from here 35 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [180/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalRateRuleRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalRateRuleRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 55 | for (int i = 0; i < rules->size(); ++i) | ~~^~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalRateRuleRatesCodeGen.cpp:30:55: required from here 30 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [181/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalReactionRatesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp: In member function ‘virtual llvm::Value* rrllvm::EvalReactionRatesCodeGen::codeGen()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < reactions->size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.h:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalReactionRatesCodeGen.cpp:31:55: required from here 31 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [182/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EvalVolatileStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EvalVolatileStoichCodeGen.cpp:30:67: required from here 30 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [183/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventAssignCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventAssignCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventAssignCodeGen.cpp:21:49: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [184/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventQueue.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventQueue.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_Tp>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [185/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/EventTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*, long unsigned int, double*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventCodeGenBase.h:39:58: required from ‘rrllvm::EventCodeGenBase::EventCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::EventTriggerCodeGen]’ 39 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/EventTriggerCodeGen.cpp:21:50: required from here 21 | EventCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [186/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/FunctionResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h: In constructor ‘rrllvm::FunctionResolver::FunctionResolver(rrllvm::LoadSymbolResolver&, llvm::Value*, const rrllvm::ModelGeneratorContext&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:42:34: warning: ‘rrllvm::FunctionResolver::modelGenContext’ will be initialized after [-Wreorder] 42 | const ModelGeneratorContext& modelGenContext; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:41:25: warning: ‘rrllvm::LoadSymbolResolver& rrllvm::FunctionResolver::parentResolver’ [-Wreorder] 41 | LoadSymbolResolver& parentResolver; | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:29:1: warning: when initialized here [-Wreorder] 29 | FunctionResolver::FunctionResolver(LoadSymbolResolver& parentResolver, | ^~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/FunctionResolver.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [187/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetEventValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventTriggerCodeGen; FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:28:48: required from here 28 | GetEventTriggerCodeGen_FunctionPtr>(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.h:40:45: required from ‘rrllvm::GetEventValueCodeGenBase::GetEventValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetEventPriorityCodeGen; FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’ 40 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetEventValuesCodeGen.cpp:64:15: required from here 64 | node(0) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [188/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:47:64: required from ‘rrllvm::GetInitialValueCodeGenBase::GetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.cpp:29:90: required from here 29 | GetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [189/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetPiecewiseTriggerCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = unsigned char (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetPiecewiseTriggerCodeGen.cpp:24:55: required from here 24 | , piecewiseTriggers(mgc.getPiecewiseTriggers()) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [190/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/GetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = double (*)(rrllvm::LLVMModelData*, long unsigned int)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:48:57: required from ‘rrllvm::GetValueCodeGenBase::GetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 48 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.cpp:27:71: required from here 27 | GetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [191/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/KineticLawParameterResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/KineticLawParameterResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [192/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/Jit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h: In constructor ‘rrllvm::Jit::Jit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:383:23: warning: ‘rrllvm::Jit::options’ will be initialized after [-Wreorder] 383 | std::uint32_t options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:379:44: warning: ‘std::unique_ptr rrllvm::Jit::context’ [-Wreorder] 379 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:382:44: warning: ‘rrllvm::Jit::builder’ will be initialized after [-Wreorder] 382 | std::unique_ptr> builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:354:52: warning: ‘std::unique_ptr rrllvm::Jit::compiledModuleBinaryStream’ [-Wreorder] 354 | std::unique_ptr compiledModuleBinaryStream; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:36:5: warning: when initialized here [-Wreorder] 36 | Jit::Jit(std::uint32_t options) | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp: In member function ‘rrllvm::FnMap rrllvm::Jit::externalFunctionSignatures() const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:371:29: warning: unused variable ‘fnTy_double_void_d4’ [-Wunused-variable] 371 | llvm::FunctionType *fnTy_double_void_d4 = llvm::FunctionType::get(double_type, args_void_double_quadruple,false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:372:29: warning: unused variable ‘fnTy_double_void_d3’ [-Wunused-variable] 372 | llvm::FunctionType *fnTy_double_void_d3 = llvm::FunctionType::get(double_type, args_void_double_triple, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:373:29: warning: unused variable ‘fnTy_double_void_d2’ [-Wunused-variable] 373 | llvm::FunctionType *fnTy_double_void_d2 = llvm::FunctionType::get(double_type, args_void_double_double, false); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:374:29: warning: unused variable ‘fnTy_double_void_d1’ [-Wunused-variable] 374 | llvm::FunctionType *fnTy_double_void_d1 = llvm::FunctionType::get(double_type, args_void_double, false); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [193/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/JitFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.cpp [194/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLJitSectionMemory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJitSectionMemory.cpp [195/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMCompiler.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMCompiler.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [196/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelData.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelData.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [197/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In constructor ‘rrllvm::LLJit::LLJit(uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 96 | llvm::logAllUnhandledErrors(std::move(expectedJTMB.takeError()), llvm::errs(), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:96:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 123 | llvm::logAllUnhandledErrors(std::move(DL.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:123:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 131 | llvm::logAllUnhandledErrors(std::move(expectedTargetMachine.takeError()), llvm::errs(), err); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:131:50: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 140 | std::move(DLSG.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:140:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 198 | std::move(llJitExpected.takeError()), llvm::errs(), "[LLJit creation failure] "); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:198:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual uint64_t rrllvm::LLJit::lookupFunctionAddress(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 256 | std::move(expectedSymbol.takeError()), | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:256:30: note: remove ‘std::move’ call /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp: In member function ‘virtual std::unique_ptr rrllvm::LLJit::getCompiledModelFromCache(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 334 | return std::move(objBuf); | ~~~~~~~~~^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:334:25: note: remove ‘std::move’ call In file included from /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/Core.h:17, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h:19, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h:22, from /usr/lib64/llvm14/include/llvm/ExecutionEngine/Orc/LLJIT.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.h:20, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Symbol*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Symbol*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:752:18: required from here 752 | Symbols.clear(); | ~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::jitlink::Block*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib64/llvm14/include/llvm/ADT/DenseSet.h:93:17: required from ‘void llvm::detail::DenseSetImpl::clear() [with ValueT = llvm::jitlink::Block*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ 93 | TheMap.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ExecutionEngine/JITLink/JITLink.h:753:17: required from here 753 | Blocks.clear(); | ~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:33 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLJit.cpp:149:95: required from here 149 | int numCompileThreads = rr::Config::getValue(rr::Config::LLJIT_NUM_THREADS).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [198/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelDataSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:15: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:130:1: warning: when initialized here [-Wreorder] 130 | LLVMModelDataSymbols::LLVMModelDataSymbols() : | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h: In constructor ‘rrllvm::LLVMModelDataSymbols::LLVMModelDataSymbols(const Model*, unsigned int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:805:13: warning: ‘rrllvm::LLVMModelDataSymbols::independentCompartmentSize’ will be initialized after [-Wreorder] 805 | size_t independentCompartmentSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.h:681:10: warning: ‘uint rrllvm::LLVMModelDataSymbols::independentInitFloatingSpeciesSize’ [-Wreorder] 681 | uint independentInitFloatingSpeciesSize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:145:1: warning: when initialized here [-Wreorder] 145 | LLVMModelDataSymbols::LLVMModelDataSymbols(const ::Model *model, unsigned options) | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getStoichiometryIndex(const std::string&, const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:32: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:404:73: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 404 | if (stoichiometry->row == speciesIndex && stoichiometry->column == reactionIndex) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp: In member function ‘int rrllvm::LLVMModelDataSymbols::getConservedMoietyIndex(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2055:16: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘int’ [-Wsign-compare] 2055 | if (*i == gp) | ~~~^~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:28: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::set&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2136:16: required from here 2136 | rr::loadBinary(in, conservedMoietySpeciesSet); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 374 | for (int i = 0; i < ssize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2137:16: required from here 2137 | rr::loadBinary(in, conservedMoietyGlobalParameter); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2138:16: required from here 2138 | rr::loadBinary(in, conservedMoietyGlobalParameterIndex); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::unordered_map&) [with K = unsigned int; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2139:16: required from here 2139 | rr::loadBinary(in, floatingSpeciesToConservedMoietyIdMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 360 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2140:16: required from here 2140 | rr::loadBinary(in, conservedMoietyDepSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = std::__cxx11::basic_string; V = std::vector; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2141:16: required from here 2141 | rr::loadBinary(in, conservedMoietyIndSpecies); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = std::__cxx11::basic_string; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2167:16: required from here 2167 | rr::loadBinary(in, stoichIds); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = rrllvm::LLVMModelDataSymbols::SpeciesReferenceType; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2169:16: required from here 2169 | rr::loadBinary(in, stoichTypes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = long unsigned int; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2194:16: required from here 2194 | rr::loadBinary(in, eventAssignmentsSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = unsigned char; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelDataSymbols.cpp:2195:16: required from here 2195 | rr::loadBinary(in, eventAttributes); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [199/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMExecutableModel.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:8: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 8 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:683:44: warning: ‘rrllvm::LLVMExecutableModel::getGlobalParameterPtr’ will be initialized after [-Wreorder] 683 | GetGlobalParameterCodeGen::FunctionPtr getGlobalParameterPtr; | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:682:46: warning: ‘double (* rrllvm::LLVMExecutableModel::getCompartmentVolumePtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 682 | GetCompartmentVolumeCodeGen::FunctionPtr getCompartmentVolumePtr; | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:166:1: warning: when initialized here [-Wreorder] 166 | LLVMExecutableModel::LLVMExecutableModel() : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(const std::shared_ptr&, rrllvm::LLVMModelData*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:673:33: warning: ‘rrllvm::LLVMExecutableModel::symbols’ will be initialized after [-Wreorder] 673 | const LLVMModelDataSymbols *symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:671:20: warning: ‘rrllvm::LLVMModelData* rrllvm::LLVMExecutableModel::modelData’ [-Wreorder] 671 | LLVMModelData *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘rrllvm::LLVMExecutableModel::conversionFactor’ will be initialized after [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘void (* rrllvm::LLVMExecutableModel::evalInitialConditionsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:677:47: warning: ‘rrllvm::LLVMExecutableModel::evalInitialConditionsPtr’ will be initialized after [-Wreorder] 677 | EvalInitialConditionsCodeGen::FunctionPtr evalInitialConditionsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:676:43: warning: ‘double (* rrllvm::LLVMExecutableModel::evalReactionRatesPtr)(rrllvm::LLVMModelData*)’ [-Wreorder] 676 | EvalReactionRatesCodeGen::FunctionPtr evalReactionRatesPtr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:707:61: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 707 | GetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr getFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:705:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 705 | SetFloatingSpeciesInitConcentrationCodeGen::FunctionPtr setFloatingSpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:710:54: warning: ‘rrllvm::LLVMExecutableModel::getFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 710 | GetFloatingSpeciesInitAmountCodeGen::FunctionPtr getFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:709:54: warning: ‘rrllvm::LLVMExecutableModel::setFloatingSpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 709 | SetFloatingSpeciesInitAmountCodeGen::FunctionPtr setFloatingSpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘double (* rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, size_t)’ [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:708:61: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitConcentrationsPtr’ will be initialized after [-Wreorder] 708 | GetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr getBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:706:61: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitConcentrationsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 706 | SetBoundarySpeciesInitConcentrationCodeGen::FunctionPtr setBoundarySpeciesInitConcentrationsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:712:54: warning: ‘rrllvm::LLVMExecutableModel::getBoundarySpeciesInitAmountsPtr’ will be initialized after [-Wreorder] 712 | GetBoundarySpeciesInitAmountCodeGen::FunctionPtr getBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:711:54: warning: ‘bool (* rrllvm::LLVMExecutableModel::setBoundarySpeciesInitAmountsPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 711 | SetBoundarySpeciesInitAmountCodeGen::FunctionPtr setBoundarySpeciesInitAmountsPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:714:50: warning: ‘rrllvm::LLVMExecutableModel::getCompartmentInitVolumesPtr’ will be initialized after [-Wreorder] 714 | GetCompartmentInitVolumeCodeGen::FunctionPtr getCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:713:50: warning: ‘bool (* rrllvm::LLVMExecutableModel::setCompartmentInitVolumesPtr)(rrllvm::LLVMModelData*, int32_t, double)’ [-Wreorder] 713 | SetCompartmentInitVolumeCodeGen::FunctionPtr setCompartmentInitVolumesPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:212:1: warning: when initialized here [-Wreorder] 212 | LLVMExecutableModel::LLVMExecutableModel( | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h: In constructor ‘rrllvm::LLVMExecutableModel::LLVMExecutableModel(std::istream&, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:766:14: warning: ‘rrllvm::LLVMExecutableModel::dirty’ will be initialized after [-Wreorder] 766 | uint32_t dirty; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:760:12: warning: ‘double rrllvm::LLVMExecutableModel::conversionFactor’ [-Wreorder] 760 | double conversionFactor; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:270:1: warning: when initialized here [-Wreorder] 270 | LLVMExecutableModel::LLVMExecutableModel(std::istream& in, uint modelGeneratorOpt) : | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::reset(int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:867:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 867 | for (int gid = 0; gid < modelData->numIndGlobalParameters; ++gid) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual void rrllvm::LLVMExecutableModel::getIds(int, std::__cxx11::list >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1237:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1237 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1248:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1248 | for (size_t i = 0; i < getNumFloatingSpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1258:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1258 | for (size_t i = 0; i < getNumBoundarySpecies(); ++i) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1282:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1282 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1284:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1284 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1288:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1288 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1296:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1296 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1308:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1308 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1310:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1310 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1314:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1314 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1322:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1322 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1351:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1351 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1353:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1353 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1361:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1361 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1370:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1370 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1372:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1372 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1380:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1380 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1392:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1392 | for (size_t r = 0; r < getNumReactions(); ++r) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1394:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1394 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1402:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1402 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1411:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1411 | for (size_t fs = 0; fs < getNumFloatingSpecies(); ++fs) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1413:36: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1413 | for (size_t bs = 0; bs < getNumBoundarySpecies(); bs++) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1421:34: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1421 | for (size_t g = 0; g < getNumGlobalParameters(); g++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setBoundarySpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:1914:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1914 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesAmounts(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2062:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2062 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setFloatingSpeciesConcentrations(size_t, const int*, const double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2118:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2118 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::setGlobalParameterValues(size_t, const int*, const double*, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2221:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2221 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getReactionRates(size_t, const int*, double*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2270:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2270 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2273:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2273 | if (j < modelData->numReactions) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In function ‘bool rrllvm::isMultiSpeciesReferenceCell(const LLVMModelDataSymbols*, int, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:20: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2427:49: warning: comparison of integer expressions of different signedness: ‘const uint’ {aka ‘const unsigned int’} and ‘int’ [-Wsign-compare] 2427 | if (i->row == speciesIndex && i->column == reactionIndex) | ~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp: In member function ‘virtual int rrllvm::LLVMExecutableModel::getEventTriggers(size_t, const int*, unsigned char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2706:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2706 | for (int i = 0; i < len; ++i) | ~~^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:2709:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2709 | if (j < modelData->numEvents) | ~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::map&) [with K = long long unsigned int; V = bool; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.cpp:326:19: required from here 326 | rr::loadBinary(in, tieBreakMap); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:346:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 346 | for (int i = 0; i < msize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [200/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelSymbols.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h: In constructor ‘rrllvm::LLVMModelSymbols::LLVMModelSymbols(const Model*, const rrllvm::LLVMModelDataSymbols&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:253:33: warning: ‘rrllvm::LLVMModelSymbols::symbols’ will be initialized after [-Wreorder] 253 | const LLVMModelDataSymbols &symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:248:34: warning: ‘std::vector rrllvm::LLVMModelSymbols::reactions’ [-Wreorder] 248 | std::vector reactions; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:32:1: warning: when initialized here [-Wreorder] 32 | LLVMModelSymbols::LLVMModelSymbols(const ::Model *m, LLVMModelDataSymbols const &sym) : | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp: In member function ‘virtual bool rrllvm::LLVMModelSymbols::visit(const Reaction&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:218:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 218 | for (int i = 0; i < reactants->size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:253:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 253 | for (int i = 0; i < products->size(); i++) | ~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelSymbols.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [201/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LLVMModelGenerator.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:10: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 10 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In function ‘void rrllvm::codeGeneration(ModelGeneratorContext&, uint32_t)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:133:19: warning: variable ‘setBoundarySpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 133 | Function* setBoundarySpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:134:19: warning: variable ‘setBoundarySpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 134 | Function* setBoundarySpeciesConcentrationIR; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:135:19: warning: variable ‘setFloatingSpeciesConcentrationIR’ set but not used [-Wunused-but-set-variable=] 135 | Function* setFloatingSpeciesConcentrationIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:136:19: warning: variable ‘setCompartmentVolumeIR’ set but not used [-Wunused-but-set-variable=] 136 | Function* setCompartmentVolumeIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:137:19: warning: variable ‘setFloatingSpeciesAmountIR’ set but not used [-Wunused-but-set-variable=] 137 | Function* setFloatingSpeciesAmountIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:138:19: warning: variable ‘setGlobalParameterIR’ set but not used [-Wunused-but-set-variable=] 138 | Function* setGlobalParameterIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:139:19: warning: variable ‘getFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 139 | Function* getFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:140:19: warning: variable ‘setFloatingSpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 140 | Function* setFloatingSpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:141:19: warning: variable ‘getFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 141 | Function* getFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:142:19: warning: variable ‘setFloatingSpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 142 | Function* setFloatingSpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:143:19: warning: variable ‘getBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 143 | Function* getBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:144:19: warning: variable ‘setBoundarySpeciesInitConcentrationsIR’ set but not used [-Wunused-but-set-variable=] 144 | Function* setBoundarySpeciesInitConcentrationsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:145:19: warning: variable ‘getBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 145 | Function* getBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:146:19: warning: variable ‘setBoundarySpeciesInitAmountsIR’ set but not used [-Wunused-but-set-variable=] 146 | Function* setBoundarySpeciesInitAmountsIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:147:19: warning: variable ‘getCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 147 | Function* getCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:148:19: warning: variable ‘setCompartmentInitVolumesIR’ set but not used [-Wunused-but-set-variable=] 148 | Function* setCompartmentInitVolumesIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:149:19: warning: variable ‘getGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 149 | Function* getGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:150:19: warning: variable ‘setGlobalParameterInitValueIR’ set but not used [-Wunused-but-set-variable=] 150 | Function* setGlobalParameterInitValueIR = nullptr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp: In static member function ‘static rr::ExecutableModel* rrllvm::LLVMModelGenerator::regenerateModel(rr::ExecutableModel*, SBMLDocument*, uint)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:402:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 402 | if (index >= 0 && index < newModel->modelData->numInitGlobalParameters) { | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMModelGenerator.cpp:22: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [202/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/LoadSymbolResolverBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h: In constructor ‘rrllvm::LoadSymbolResolverBase::LoadSymbolResolverBase(const rrllvm::ModelGeneratorContext&, llvm::Value*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:81:18: warning: ‘rrllvm::LoadSymbolResolverBase::modelData’ will be initialized after [-Wreorder] 81 | llvm::Value *modelData; | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:78:33: warning: ‘const rrllvm::LLVMModelDataSymbols& rrllvm::LoadSymbolResolverBase::modelDataSymbols’ [-Wreorder] 78 | const LLVMModelDataSymbols &modelDataSymbols; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.cpp:24:1: warning: when initialized here [-Wreorder] 24 | LoadSymbolResolverBase::LoadSymbolResolverBase( | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [203/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/MCJit.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [204/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelDataIRBuilder.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘llvm::Value* rrllvm::ModelDataIRBuilder::createGEP(rrllvm::ModelDataFields)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:128:108: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 128 | return builder.CreateStructGEP(cast(modelData->getType()->getScalarType())->getElementType(), modelData, (unsigned)field, Twine(fieldName) + Twine("_gep")); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib64/llvm14/include/llvm/IR/Function.h:29, from /usr/lib64/llvm14/include/llvm/Transforms/InstCombine/InstCombine.h:19, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:38, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:8: /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: In member function ‘void rrllvm::ModelDataIRBuilder::validateStruct(llvm::Value*, const char*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:618:59: warning: ‘llvm::Type* llvm::PointerType::getElementType() const’ is deprecated: Pointer element types are deprecated. You can *temporarily* use Type::getPointerElementType() instead [-Wdeprecated-declarations] 618 | Type *type = pointerType ? pointerType->getElementType() : s->getType(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/IR/DerivedTypes.h:675:9: note: declared here 675 | Type *getElementType() const { | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h: In constructor ‘rrllvm::LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(const rrllvm::LLVMModelDataSymbols&, llvm::IRBuilder<>&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:397:37: warning: ‘rrllvm::LLVMModelDataIRBuilderTesting::symbols’ will be initialized after [-Wreorder] 397 | LLVMModelDataSymbols const& symbols; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.h:395:28: warning: ‘llvm::IRBuilder<>& rrllvm::LLVMModelDataIRBuilderTesting::builder’ [-Wreorder] 395 | llvm::IRBuilder<>& builder; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:793:1: warning: when initialized here [-Wreorder] 793 | LLVMModelDataIRBuilderTesting::LLVMModelDataIRBuilderTesting(LLVMModelDataSymbols const& symbols, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataIRBuilder.cpp:79:13: warning: ‘bool rrllvm::isArray(ModelDataFields)’ defined but not used [-Wunused-function] 79 | static bool isArray(ModelDataFields f) | ^~~~~~~ [205/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelDataSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelDataSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [206/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [207/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelGeneratorContext.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h: In constructor ‘rrllvm::ModelGeneratorContext::ModelGeneratorContext(const SBMLDocument*, unsigned int, rrllvm::Jit*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:210:18: warning: ‘rrllvm::ModelGeneratorContext::options’ will be initialized after [-Wreorder] 210 | unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:208:17: warning: ‘rrllvm::Random* rrllvm::ModelGeneratorContext::random’ [-Wreorder] 208 | Random *random; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:107:5: warning: when initialized here [-Wreorder] 107 | ModelGeneratorContext::ModelGeneratorContext(const ::SBMLDocument* doc_, unsigned options, | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:128:34: warning: enum constant in boolean context [-Wint-in-bool-context] 128 | rr::Config::ROADRUNNER_DISABLE_WARNINGS_CONSERVED_MOIETY) == 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:19: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:77:22: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ declared ‘static’ but never defined [-Wunused-function] 77 | static Function *createGlobalMappingFunction(const char *funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:59: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.cpp:460:26: warning: ‘SBMLDocument* rrllvm::checkedReadSBMLFromString(const char*)’ defined but not used [-Wunused-function] 460 | static SBMLDocument *checkedReadSBMLFromString(const char *xml) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ [208/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ResetRateRuleStoichCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:4: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 4 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = void (*)(rrllvm::LLVMModelData*)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ResetRateRuleStoichCodeGen.cpp:24:68: required from here 24 | CodeGenBase(mgc) { | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ [209/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/Random.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:9: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector<_RealType>&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrConfig.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:31 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:62:64: required from here 62 | return Config::getValue(Config::RANDOM_SEED).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Random.cpp:98:11: warning: ‘llvm::Function* rrllvm::createGlobalMappingFunction(const char*, llvm::FunctionType*, llvm::Module*)’ defined but not used [-Wunused-function] 98 | Function* createGlobalMappingFunction(const char* funcName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [210/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/ModelResources.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h: In constructor ‘rrllvm::ModelResources::ModelResources()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:100:48: warning: ‘rrllvm::ModelResources::executionEngine’ will be initialized after [-Wreorder] 100 | std::unique_ptr executionEngine; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:99:44: warning: ‘std::unique_ptr rrllvm::ModelResources::context’ [-Wreorder] 99 | std::unique_ptr context; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:58:5: warning: when initialized here [-Wreorder] 58 | ModelResources::ModelResources() | ^~~~~~~~~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [211/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLInitialValueSymbolResolver.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [212/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLSupportFunctions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLSupportFunctions.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop [213/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SBMLModelObjectCache.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLModelObjectCache.cpp [214/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SetValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:47:57: required from ‘rrllvm::SetValueCodeGenBase::SetValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’ 47 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.cpp:57:71: required from here 57 | SetValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [215/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrcStringList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string& rrc::StringList::operator[](const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:73:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 73 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘const std::string& rrc::StringList::operator[](const int&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:85:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘unsigned int’ [-Wsign-compare] 85 | if (index > Count() - 1) | ~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘std::string rrc::StringList::AsString(const std::string&) const’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:109:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 109 | for (int i = 0; i < mStrings.size(); i++) | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:112:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 112 | if (i < mStrings.size() - 1) | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘rrc::StringList rrc::StringList::operator-(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:140:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 140 | for (int i = 0; i < Count(); i++) | ~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In member function ‘void rrc::StringList::Append(const rrc::StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:160:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 160 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp: In function ‘std::ostream& rrc::operator<<(std::ostream&, const StringList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:222:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 222 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:225:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 225 | if (i < list.Count() - 1) | ~~^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrcStringList.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [216/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RR -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_EXPORTS -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o -MF source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o.d -o source/CMakeFiles/roadrunner.dir/llvm/SetInitialValuesCodeGen.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:7: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 7 | #pragma hdrstop In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h: In instantiation of ‘rrllvm::CodeGenBase::CodeGenBase(const rrllvm::ModelGeneratorContext&) [with FunctionPtrType = bool (*)(rrllvm::LLVMModelData*, int, double)]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:45:64: required from ‘rrllvm::SetInitialValueCodeGenBase::SetInitialValueCodeGenBase(const rrllvm::ModelGeneratorContext&) [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’ 45 | CodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.cpp:32:90: required from here 32 | SetInitialValueCodeGenBase(mgc) | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:108:20: warning: ‘rrllvm::CodeGenBase::options’ will be initialized after [-Wreorder] 108 | const unsigned options; | ^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:98:21: warning: ‘llvm::Function* rrllvm::CodeGenBase::function’ [-Wreorder] 98 | llvm::Function *function; | ^~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:71:5: warning: when initialized here [-Wreorder] 71 | CodeGenBase(const ModelGeneratorContext &mgc) : | ^~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [217/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItemBase.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItemBase.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [218/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayList.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘std::string rrc::ArrayList::GetString(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:42:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 42 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const int&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:60:19: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 60 | if (index < mList.size()) | ~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp: In member function ‘rrc::StringList rrc::ArrayList::GetStringList(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:102:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 102 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayList.cpp:112:51: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 112 | for (int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ [219/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrArrayListItem.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrArrayListItem.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop [220/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_logging_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_logging_api.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [221/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_nom_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_nom_api.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [222/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_libstruct_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvaluesMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_libstruct_api.cpp:56:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 56 | for (int i = 0; i < vals.size(); i++) | ~~^~~~~~~~~~~~~ [223/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_cpp_support.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘ls::DoubleMatrix* rrc::createMatrix(RRDoubleMatrixPtr)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:85:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 85 | for(u_int row = 0; row < mat->RSize; row++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:87:32: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 87 | for(u_int col = 0; col < mat->CSize; col++) | ~~~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘std::vector > rrc::createVector(const RRVector*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:140:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 140 | for(int i = 0; i < aVec.size(); i++) | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRList* rrc::createArrayList(const ArrayList&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:267:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 267 | for(int i = 0; i < list.Count(); i++) | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp: In function ‘rrc::RRCData* rrc::createRRCData(const rr::RoadRunner&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:300:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 300 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_cpp_support.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [224/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_utilities.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_utilities.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [225/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:60: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:180:19: warning: unused variable ‘result’ [-Wunused-variable] 180 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:349:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 349 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:424:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 424 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:664:30: warning: unused variable ‘rows’ [-Wunused-variable] 664 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1770:24: warning: unused variable ‘arr’ [-Wunused-variable] 1770 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [226/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/PyLoggerStream.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyLoggerStream.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyLoggerStream.cpp:9: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ [227/538] : && /usr/bin/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--exclude-libs,libPocoFoundation.so.111:libPocoNet.so.111:libPocoXML.so.111 -Wl,--dependency-file=wrappers/C/CMakeFiles/roadrunner_c_api.dir/link.d -Wl,-soname,libroadrunner_c_api.so -o lib/libroadrunner_c_api.so wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrcStringList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayList.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItem.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrArrayListItemBase.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_logging_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_nom_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_libstruct_api.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_utilities.cpp.o wrappers/C/CMakeFiles/roadrunner_c_api.dir/rrc_cpp_support.cpp.o -Wl,-rpath,/usr/lib64/llvm14/lib::: lib/libroadrunner-static.a -lpthread -ldl -lm /usr/lib64/llvm14/lib/libLLVM-14.so /usr/lib64/librr-libstruct.so.2.9.2 /usr/lib64/libsbml.so /usr/lib64/libz.a -llapack -lblas /usr/lib64/libsundials_core.a /usr/lib64/libsundials_nvecserial.a /usr/lib64/libsundials_nvecmanyvector.a /usr/lib64/libsundials_sunmatrixband.a /usr/lib64/libsundials_sunmatrixdense.a /usr/lib64/libsundials_sunmatrixsparse.a /usr/lib64/libsundials_sunlinsolband.a /usr/lib64/libsundials_sunlinsoldense.a /usr/lib64/libsundials_sunlinsolpcg.a /usr/lib64/libsundials_sunlinsolspbcgs.a /usr/lib64/libsundials_sunlinsolspfgmr.a /usr/lib64/libsundials_sunlinsolspgmr.a /usr/lib64/libsundials_sunlinsolsptfqmr.a /usr/lib64/libsundials_sunnonlinsolnewton.a /usr/lib64/libsundials_sunnonlinsolfixedpoint.a /usr/lib64/libsundials_cvodes.a /usr/lib64/libsundials_kinsol.a /usr/lib64/libPocoNet.so.111 /usr/lib64/libPocoXML.so.111 /usr/lib64/libexpat.so.1.12.3 /usr/lib64/libsundials_sunmatrixband.a /usr/lib64/libsundials_sunmatrixdense.a /usr/lib64/libsundials_core.a -lm /usr/lib64/libPocoFoundation.so.111 -lpthread -ldl /lib64/libpcre2-8.so /usr/lib64/libz.so.1.3.1.zlib-ng /usr/lib64/libutf8proc.so -lrt /usr/lib64/libexpat.so.1.12.3 -lm -lgcc_s_asneeded -lgcc_s_asneeded && : [228/538] /usr/bin/g++ -DBUILD_LLVM -DEXPORT_RRC -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o -MF wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o.d -o wrappers/C/CMakeFiles/roadrunner_c_api-static.dir/rrc_api.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:43: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 43 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix3D.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolver.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/SensitivitySolverFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:68: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getTimeCourseSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:647:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 647 | for(int i = 0; i < selections.size(); ++i) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRStringArray* rrc::getSteadyStateSelectionList(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1463:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1463 | for(int i = 0; i < ss.size(); ++i) | ~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRDoubleMatrix* rrc::getEigenvalues(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:1512:28: warning: comparison of integer expressions of different signedness: ‘u_int’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1512 | for(u_int row = 0; row < matrix->RSize; row++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘int rrc::getCurrentIntegratorParameterDoubleArray(RRHandle, const char*, double**, int*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2511:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2511 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::RoadRunner_getUnscaledFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2956:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2956 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2964:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2964 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2969:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2969 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2974:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 2974 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getFluxControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3089:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3089 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3097:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3097 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3102:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3102 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3107:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3107 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3167:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3167 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3180:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3180 | for(int item = 0; item < list.size(); item++)// (object item in floatingSpeciesNames) | ~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3197:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3197 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3204:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3204 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3209:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3209 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3214:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3214 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledConcentrationControlCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3235:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3235 | for(int i = 0; i < oFloating.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3242:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3242 | for(int i = 0; i < oParameters.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3247:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3247 | for(int i = 0; i < oBoundary.size(); i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3252:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3252 | for(int i = 0; i < oConservation.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3274:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3274 | for(int i = 0; i < reactionNames.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3281:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3281 | for(int j = 0; j < floatingSpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3286:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3286 | for(int j = 0; j < boundarySpeciesNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3291:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3291 | for(int j = 0; j < globalParameterNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3296:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3296 | for(int j = 0; j < conservationNames.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::ArrayList rrc::sel_getUnscaledElasticityCoefficientIds(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3318:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3318 | for(int i = 0; i < oReactions.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3325:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3325 | for(int j = 0; j < oFloating.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3331:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3331 | for(int j = 0; j < oBoundary.size(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3337:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3337 | for(int j = 0; j < oGlobalParameters.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3343:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3343 | for(int j = 0; j < oConservation.size(); j++) | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getFloatingSpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3371:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3371 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘std::vector > rrc::sel_getBoundarySpeciesConcSymbols(rr::RoadRunner*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3385:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3385 | for(int i = 0; i < ids.size(); i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespie(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3411:26: warning: unused variable ‘o’ [-Wunused-variable] 3411 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieOnGrid(RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3432:26: warning: unused variable ‘o’ [-Wunused-variable] 3432 | SimulateOptions& o = r->getSimulateOptions(); | ^ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3496 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: In function ‘rrc::RRCData* rrc::gillespieMeanSDOnGrid(RRHandle, int)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3586:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 3586 | for (int i = 0; i < selections.size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:57: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ForwardSensitivitySolver.h:13: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:49: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2395:45: required from here 2395 | return (int)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator double() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator double() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = double]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = double]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2437:48: required from here 2437 | return (double)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:2483:46: required from here 2483 | return (bool)rri->getIntegrator()->getValue(key.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3175:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesConcIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3175 | vector sel_getBoundarySpeciesConcIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/rrc_api.cpp:3162:16: warning: ‘std::vector > rrc::sel_getBoundarySpeciesAmountIds(rr::RoadRunner*)’ defined but not used [-Wunused-function] 3162 | vector sel_getBoundarySpeciesAmountIds(RoadRunner* rr) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [229/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o -MF test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o.d -o test/CMakeFiles/TestModelFactory.dir/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:3408: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_EigenResult_fullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:6827:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6827 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_EigenResult_reducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:6908:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 6908 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SimpleFlux_fullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:8028:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8028 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap_SimpleFlux_reducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:8109:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 8109 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testStdComplexZeroImagPart(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12206:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 12206 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testStdComplexNonZeroImagPart(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12277:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 12277 | for (int i = 0; i < vec.size(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx: In function ‘PyObject* _wrap__testDoubleVectorTo1DNumpyArray(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/CMakeFiles/TestModelFactory.dir/TestModelFactoryPYTHON_wrap.cxx:12302:20: warning: unused variable ‘desc’ [-Wunused-variable] 12302 | PyArray_Descr *desc = PyArray_DescrFromType(NPY_DOUBLE); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ [230/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o -MF test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o.d -o test/CMakeFiles/TestModelFactory.dir/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [231/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -DTestModelFactory_EXPORTS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -isystem /usr/include/rr-libstruct -isystem /usr/include/python3.15 -isystem /usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o -MF test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o.d -o test/CMakeFiles/TestModelFactory.dir/__/wrappers/Python/roadrunner/PyUtils.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:60: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::Variant_to_py(const Setting&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:180:19: warning: unused variable ‘result’ [-Wunused-variable] 180 | PyObject *result = nullptr; | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::dictionary_items(const Dictionary*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:349:23: warning: unused variable ‘pyStr’ [-Wunused-variable] 349 | PyObject *pyStr = Variant_to_py(dict->getItem(key)); | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::doublematrix_to_py(const ls::DoubleMatrix*, bool, bool)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:424:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 424 | for (int i = 0; i < names.size(); ++i) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In function ‘PyObject* rr::NammedArray_subscript(NamedArrayObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:664:30: warning: unused variable ‘rows’ [-Wunused-variable] 664 | npy_intp rows = PyArray_DIM((PyArrayObject*)self, 0); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp: In member function ‘PyObject* rr::Matrix3DToNumpy::convertIndex()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1770:24: warning: unused variable ‘arr’ [-Wunused-variable] 1770 | PyArrayObject *arr = reinterpret_cast(result); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.cpp:1116:38: required from here 1116 | bool named = Config::getValue(Config::PYTHON_ENABLE_NAMED_MATRIX); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [232/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [233/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/STSTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘STS::STS() [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:109:27: required from here 109 | STS sts; | ^~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:115:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 115 | for (int i = 1; i < SemanticOrStochastic::maxNum(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h: In instantiation of ‘std::vector > STS::getModelsFromSTSAsStrings(int, int) [with SemanticOrStochastic = SemanticSTSModel]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STSTest.cpp:129:68: required from here 129 | std::vector models = sts.getModelsFromSTSAsStrings(1, 10); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.h:183:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 183 | for (int i = 0; i < v.size(); i++) { | ~~^~~~~~~~~~ [234/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [235/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/rrSBMLTestSuiteSimulation_CAPI.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:1: warning: ignoring ‘#pragma hdrstop ’ [-Wunknown-pragmas] 1 | #pragma hdrstop In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:3, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:42:33: warning: ‘virtual bool rr::TestSuiteModelSimulation::LoadSettings(const std::filesystem::__cxx11::path&)’ was hidden [-Woverloaded-virtual=] 42 | bool LoadSettings(const std::filesystem::path& fName = "") override; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:23:10: note: by ‘bool SBMLTestSuiteSimulation_CAPI::LoadSettings(const std::string&)’ 23 | bool LoadSettings(const string& fName = ""); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [236/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [237/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [238/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o -MF test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o.d -o test/sbml-test-suite/CMakeFiles/STSTest.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [239/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [240/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/exceptions.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/exceptions.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/exceptions.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [241/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [242/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/libstruct.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getLinkMatrix_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:63:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 63 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:63:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 63 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getEigenValuesMatrix_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:89:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 89 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:89:59: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 89 | if (actual->RSize != ref.RSize() || actual->CSize != ref.CSize()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp: In member function ‘virtual void LibstructTests_getEigenValuesVector_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:114:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, std::allocator > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 114 | if (actual->Count != ref.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/libstruct.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [243/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/CAPICoreTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp: In member function ‘virtual void CAPICoreTest_CheckRK4WorksFromC_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:269:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 269 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp: In member function ‘virtual void CAPICoreTest_CheckRatesOfChangeFunctions_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:571:10: warning: unused variable ‘ret’ [-Wunused-variable] 571 | bool ret = setComputeAndAssignConservationLaws(rrH, true); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/CAPICoreTest.cpp:18: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [244/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/SimulateOptionsCAPITests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/SimulateOptionsCAPITests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/SimulateOptionsCAPITests.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [245/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/LLVMModelDataSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMModelDataSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMModelDataSymbolsTests.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ [246/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o -MF test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o.d -o test/c_api_core/CMakeFiles/test_c_api_core.dir/model_editing.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:3, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrTestSuiteModelSimulation.h:42:33: warning: ‘virtual bool rr::TestSuiteModelSimulation::LoadSettings(const std::filesystem::__cxx11::path&)’ was hidden [-Woverloaded-virtual=] 42 | bool LoadSettings(const std::filesystem::path& fName = "") override; | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/rrSBMLTestSuiteSimulation_CAPI.h:23:10: note: by ‘bool SBMLTestSuiteSimulation_CAPI::LoadSettings(const std::string&)’ 23 | bool LoadSettings(const string& fName = ""); | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp: In member function ‘bool CAPIModelEditingTests::validateModifiedSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 37 | for (int i = 0; i < doc->getNumErrors(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:47:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 47 | for (int i = 0; i < doc->getNumErrors(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp: In member function ‘bool CAPIModelEditingTests::RunTestModelFromScratch(void (*)(rrc::RRHandle), std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:177:13: warning: unused variable ‘level’ [-Wunused-variable] 177 | int level = version.at(1) - '0'; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:178:13: warning: unused variable ‘versionNum’ [-Wunused-variable] 178 | int versionNum = version.at(3) - '0'; | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_core/model_editing.cpp:6: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [247/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -Droadrunner_python_EXPORTS -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/include -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -I/usr/include/python3.15 -I/usr/lib64/python3.15/site-packages/numpy/_core/include -isystem /usr/include/rr-libstruct -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIC -MD -MT wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o -MF wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o.d -o wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx In file included from /usr/include/python3.15/pyconfig.h:6, from /usr/include/python3.15/Python.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:208: /usr/include/python3.15/pyconfig-64.h:2128:9: warning: ‘_XOPEN_SOURCE’ redefined 2128 | #define _XOPEN_SOURCE 800 | ^~~~~~~~~~~~~ : note: this is the location of the previous definition In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolSteadyStateSolver.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4013: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/KinsolErrHandler.h:48:1: warning: multi-line comment [-Wcomment] 48 | //#define handleKinsolError(errCode) \ | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:18, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/ExecutableModelFactory.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:3982: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Integrator.h:21, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:3984: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Solver.h:84:25: warning: ‘virtual rr::Setting rr::Solver::getValue(const std::string&) const’ was hidden [-Woverloaded-virtual=] 84 | virtual Setting getValue(const std::string& key) const; | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4027: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/RK4Integrator.h:107:25: note: by ‘virtual rr::Setting rr::RK4Integrator::getValue(std::string)’ 107 | virtual Setting getValue(std::string key); | ^~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:4029: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h: In member function ‘virtual double rr::EulerIntegrator::integrate(double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:156:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 156 | for (int k_ = 0; k_ < eventStatus.size(); ++k_) { | ~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘std::string strvec_to_pystring(const std::vector >&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5938:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5938 | for (int i = 0; i < strvec.size(); ++i) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5940:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 5940 | if (i + 1 < strvec.size()) { | ~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_delete_SimulateOptions(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:14246:7: warning: deleting object of polymorphic class type ‘rr::SimulateOptions’ which has non-virtual destructor might cause undefined behavior [-Wdelete-non-virtual-dtor] 14246 | delete arg1; | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunner_getFullEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27419:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27419 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunner_getReducedEigenValues(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:27478:10: warning: unused variable ‘iscpx’ [-Wunused-variable] 27478 | bool iscpx = false; | ^~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx: In function ‘PyObject* _wrap_RoadRunnerMap_values(PyObject*, PyObject*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:33770:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33770 | for (int i=0; i, rr::RoadRunner*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 33814 | for (int i=0; i::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator int() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator int() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = int]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/EulerIntegrator.h:117:42: required from here 117 | int internal_steps = getValue("subdivision_steps"); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h: At global scope: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:211:22: warning: ‘PyObject* rr::NamedArrayObject_alloc(PyTypeObject*, Py_ssize_t)’ declared ‘static’ but never defined [-Wunused-function] 211 | static PyObject *NamedArrayObject_alloc(PyTypeObject *type, Py_ssize_t nitems); | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:231:22: warning: ‘PyObject* rr::NamedArrayObject_Finalize(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 231 | static PyObject *NamedArrayObject_Finalize(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:240:22: warning: ‘PyObject* rr::NamedArray_repr(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 240 | static PyObject *NamedArray_repr(NamedArrayObject *self); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:242:22: warning: ‘PyObject* rr::NamedArray_str(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 242 | static PyObject *NamedArray_str(NamedArrayObject *self); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:245:5: warning: ‘PyObject* rr::NamedArray___getstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 245 | NamedArray___getstate__(NamedArrayObject *self, PyObject *Py_UNUSED(ignored)); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:261:5: warning: ‘PyObject* rr::NamedArray___reduce_ex__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 261 | NamedArray___reduce_ex__(NamedArrayObject *self, PyObject *args); | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:264:5: warning: ‘PyObject* rr::NamedArray___setstate__(NamedArrayObject*, PyObject*)’ declared ‘static’ but never defined [-Wunused-function] 264 | NamedArray___setstate__(NamedArrayObject *self, PyObject *state); | ^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:266:22: warning: ‘PyObject* rr::NamedArray_New(int, npy_intp*, double*, int, const ls::DoubleMatrix*)’ declared ‘static’ but never defined [-Wunused-function] 266 | static PyObject *NamedArray_New(int nd, npy_intp *dims, double *data, int pyFlags, | ^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/Python/roadrunner/PyUtils.h:269:17: warning: ‘void rr::NamedArrayObject_dealloc(NamedArrayObject*)’ declared ‘static’ but never defined [-Wunused-function] 269 | static void NamedArrayObject_dealloc(NamedArrayObject *self); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/wrappers/Python/roadrunner/CMakeFiles/roadrunner_python.dir/roadrunnerPYTHON_wrap.cxx:5934:20: warning: ‘std::string strvec_to_pystring(const std::vector >&)’ defined but not used [-Wunused-function] 5934 | static std::string strvec_to_pystring(const std::vector& strvec) { | ^~~~~~~~~~~~~~~~~~ [248/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLVMModelDataSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [249/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [250/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitTests.dir/MCJitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelResources.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/MCJitTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [251/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [252/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitTests.dir/LLJitTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGenBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:10, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [253/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [254/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_MCJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MCJitMapFunctionsToJitSymbolsTests.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h: In member function ‘void MapFunctionsToJitSymbolsTests::Check_rr_csr_matrix_get_nz()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h:345:16: warning: unused variable ‘expected’ [-Wunused-variable] 345 | double expected = 3; | ^~~~~~~~ [255/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [256/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/CsrMatrixJitAliasSignatureTests.cpp [257/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_CsrMatrixJitAliasSignatureTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [258/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitMapFunctionsToJitSymbolsTests.dir/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/LLJitMapFunctionsToJitSymbolsTests.cpp:10: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h: In member function ‘void MapFunctionsToJitSymbolsTests::Check_rr_csr_matrix_get_nz()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/FunctionMapping/MapFunctionsToJitSymbolsTests.h:345:16: warning: unused variable ‘expected’ [-Wunused-variable] 345 | double expected = 3; | ^~~~~~~~ [259/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [260/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/EvalInitialConditionsTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:12: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/CodeGen.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LoadSymbolResolverBase.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SBMLInitialValueSymbolResolver.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:8: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/EvalInitialConditionsTests.cpp:14: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [261/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/LLVMGeneratedFunctionTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.cpp In file included from /usr/lib64/llvm14/include/llvm/Analysis/TargetLibraryInfo.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/Jit.h:22, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/MCJit.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/JitFactory.h:9, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLVMGeneratedFunctionTests.h:16: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [262/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_RandomTests.dir/RandomTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp:8: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/ModelGeneratorContext.h:14, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/RandomTests.cpp:5: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ [263/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_EvalInitialConditionsTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [264/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/JitFactoryTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/JitFactoryTests.cpp [265/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/LLJitSectionRange.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests/LLJitSectionRange.cpp [266/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_JitFactoryTests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [267/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [268/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [269/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [270/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [271/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/llvm_tests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o -MF test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o.d -o test/llvm_tests/CMakeFiles/test_llvm_LLJitSectionRange.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [272/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/NomTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/NomTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/NomTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [273/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [274/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [275/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/OtherRRTestFileTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/OtherRRTestFileTests.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/OtherRRTestFileTests.cpp:7: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [276/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [277/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [278/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [279/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o -MF test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o.d -o test/c_api_rrtests/CMakeFiles/test_c_api_rrtests.dir/RRTestFileTests.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareJacobians(rrc::RRHandle)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:301:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 301 | for (int row = 0; row < jFull.RSize(); row++) { | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:302:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 302 | for (int col = 0; col < jFull.CSize(); col++) { | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareMatricesIgnoreLabels(const ls::DoubleMatrix&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:325:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 325 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:326:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 326 | for (int j = 0; j < ref.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:327:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 327 | if (abs(ref(i, j) - calc(i, j)) > abs((ref(i, j) + 1e-7) * 1e-4)) | ^~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-message.h:57, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-assertion-result.h:46, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:63, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:330:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 330 | EXPECT_NEAR(ref(i, j), calc(i, j), abs((ref(i, j) + 1e-7) * 1e-4)); | ^~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareLabelledMatrices(const ls::DoubleMatrix&, const ls::DoubleMatrix&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:419:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 419 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:420:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 420 | for (int j = 0; j < ref.CSize(); j++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::compareMatrices(const ls::DoubleMatrix&, std::vector, std::allocator > >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:453:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 453 | for (int i = 0; i < ref.RSize(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘int CApiRRTests::findCloseTimepoint(const ls::DoubleMatrix*, double, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:469:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 469 | for (int i = 0; i < m->RSize(); ++i) { | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_STEADY_STATE_SELECTION_LIST(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:546:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 546 | if (selList.size() != list->Count) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:551:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 551 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:563:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 563 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_SPECIES_INITIAL_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:582:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 582 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_SPECIES_INITIAL_CONCENTRATION_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:603:21: warning: unused variable ‘aKey’ [-Wunused-variable] 603 | IniKey *aKey = aSection->GetKey(i); | ^~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_INITIAL_FLOATING_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:624:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 624 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:630:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 630 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SET_SPECIES_INITIAL_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:668:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 668 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_STEADY_STATE_FLUXES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:698:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 698 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_INDIVIDUAL_EIGENVALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:764:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 764 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_INDIVIDUAL_AMOUNT_EIGENVALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:783:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 783 | for (int i = 0; i < aSection->KeyCount(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_RK4_OUTPUT(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1112:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1112 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_RK45_OUTPUT(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1137:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1137 | for (int k = 0; k < cvode->CSize(); k++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-printers.h:122, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-matchers.h:49, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h:47, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-death-test.h:43, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:64: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_FLOATING_SPECIES_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1164:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1164 | ASSERT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1166:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1166 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_BOUNDARY_SPECIES_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1187:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1187 | EXPECT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1189:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1189 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GLOBAL_PARAMETER_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1210:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1210 | EXPECT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1212:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1212 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_COMPARTMENT_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1232:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1232 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1233:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1233 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_REACTION_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1249:71: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1249 | ASSERT_TRUE((selList.size() == 0 && !list) || (selList.size() == list->Count)); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1251:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1251 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_SPECIES_INITIAL_CONDITION_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1268:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1268 | ASSERT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1269:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1269 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_EIGENVALUE_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1285:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1285 | ASSERT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1286:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1286 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_IDS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1302:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1302 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1303:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1303 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_STEADY_STATE_SELECTION_LIST_2(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1332:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1332 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1333:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1333 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_TIME_COURSE_SELECTION_LIST(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1359:36: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1359 | EXPECT_TRUE(selList.size() == list->Count); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1360:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1360 | for (int i = 0; i < selList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_COMPUTE_STEADY_STATE_VALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1374:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1374 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_FLOATING_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1391:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1391 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_BOUNDARY_SPECIES_CONCENTRATIONS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1408:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1408 | for (int i = 0; i < vals.size(); i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_GLOBAL_PARAMETER_VALUES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1427:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1427 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1433:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1433 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATES(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1453:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1453 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1459:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1459 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATE_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1477:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1477 | if (refList.size() != getNumberOfReactions(gRR)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1482:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1482 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1535:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1535 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1541:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1541 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_REACTION_RATES_EX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1571:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1571 | for (int i = 0; i < concList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1578:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1578 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1585:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1585 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_EX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1616:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1616 | for (int i = 0; i < concList.size(); i++) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1623:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1623 | if (!values || values->Count != refList.size()) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1630:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1630 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_GET_RATES_OF_CHANGE_BY_INDEX(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1648:28: warning: comparison of integer expressions of different signedness: ‘std::vector >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 1648 | if (refList.size() != getNumberOfFloatingSpecies(gRR)) { | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1653:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 1653 | for (int i = 0; i < refList.size(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_DEFAULT_TIME_STEP(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1692:29: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 1692 | if (result->RSize() != NumPts) { | ~~~~~~~~~~~~~~~~^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_MONOTONIC_TIMEPOINTS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1720:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1720 | for (int k = 1; k < result->RSize(); ++k) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1730:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1730 | for (int k = 1; k < result->RSize(); ++k) { | ~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_EVENT_PRE_AND_POSTFIRE_TIMEPOINTS(rr::IniSection*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1756:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1756 | if (i < 0 || i + 1 >= result->RSize()) { | ~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp: In member function ‘void CApiRRTests::check_CHECK_UNUSED_TESTS()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:1791:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1791 | for (int i = 0; i < iniFile.GetNumberOfSections(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/c_api_rrtests/RRTestFileTests.cpp:13: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [280/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [281/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [282/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [283/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [284/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [285/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTestDirectory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test/RoadRunnerTestDirectory.cpp:1: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [286/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [287/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/test_util.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘bool testValidateSBML(std::string)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:22:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 22 | for (int i = 0; i < log->getNumFailsWithSeverity(2); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix ParseMatrixFromText(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:37:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 37 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:40:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 40 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘std::vector, std::allocator > > getComplexVectorFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 70 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::DoubleMatrix getDoubleMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 86 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:98:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 98 | for (int col = rowlabels; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp: In function ‘ls::ComplexMatrix getComplexMatrixFromString(const std::string&)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:119:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 119 | for (int row = 0; row < rows.size(); row++) | ~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:122:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 122 | for (int col = 0; col < values.size(); col++) | ~~~~^~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/test_util.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [288/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/RoadRunnerTest.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp: In static member function ‘static void RoadRunnerTest::checkMatrixEqual(ls::DoubleMatrix, ls::DoubleMatrix, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 70 | for (int i = 0; i < expectedMatrix.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:71:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 71 | for (int j = 0; j < expectedMatrix.numCols(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrIniFile.h:7, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.h:8, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/RoadRunnerTest.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [289/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/sbml-test-suite/STS.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/STS.cpp [290/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/__/TestModelFactory.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:3: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp: In member function ‘void SteadyStateResult::checkSteadyState(rr::RoadRunner*, double)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 47 | for (int i = 0; i < names.size(); i++) { | ~~^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:30 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::operator bool() const::; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::operator bool() const::; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = bool]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:345:30: required from ‘rr::Setting::operator T() const [with T = bool]’ 345 | return std::visit( | ~~~~~~~~~~^ 346 | [&](auto const &val) { | ~~~~~~~~~~~~~~~~~~~~~~ 347 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 348 | // if all is good, we construct a object of type T and return it. | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 349 | return getAs(); | ~~~~~~~~~~~~~~~~~~ 350 | } else { | ~~~~~~~~ 351 | // T is not supported conversion type from typeid(value_) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 352 | throw std::bad_variant_access{}; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 353 | return T{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 354 | } | ~ 355 | }, value_); | ~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.cpp:25:61: required from here 25 | rr->setConservedMoietyAnalysis(settingsIterator.second); | ~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [291/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o -MF test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o.d -o test/model_editing/CMakeFiles/test_model_editing.dir/model_editing.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/TestModelFactory.h:13, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:11: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 40 | explicit Matrix(ls::Matrix &matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:40:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 46 | explicit Matrix(ls::Matrix *matrix); | ^~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Matrix.h:46:32: note: remove the ‘< >’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllReactions(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:406:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 406 | for (int i = 0; i < reactionsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllSpecies(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:425:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 425 | for (int i = 0; i < speciesToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::readdAllEvents(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:439:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 439 | for (int i = 0; i < eventsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:450:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 450 | for (int j = 0; j < nextAssignments->size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In static member function ‘static void ModelEditingTests::removeAndReaddAllCompartments(rr::RoadRunner*, SBMLDocument*)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:496:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 496 | for (int i = 0; i < compartmentsToAdd->size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In member function ‘virtual void ModelEditingTests_CHECK_REGENERATE_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:1648:13: warning: unused variable ‘n’ [-Wunused-variable] 1648 | int n = rri.getNumberOfFloatingSpecies(); | ^ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp: In member function ‘ModelEditingTests::RunTestWithEdit(std::__cxx11::basic_string, std::allocator > const&, int, void (*)(rr::RoadRunner*, SBMLDocument*), std::__cxx11::basic_string, std::allocator >)’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:394:9: warning: ‘doc’ may be used uninitialized [-Wmaybe-uninitialized] 394 | delete doc; | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_editing/model_editing.cpp:283:21: note: ‘doc’ was declared here 283 | ::SBMLDocument *doc; | ^~~ [292/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp FAILED: [code=1] test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/unsupported_packages.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp: In member function ‘virtual void SBMLFeatures_SBML_comp_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:54:29: error: reference to ‘SBMLReader’ is ambiguous 54 | std::string flattened = SBMLReader::read((SBMLFeaturesDir / "comp_example.xml").string()); | ^~~~~~~~~~ • there are 2 candidates In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:3: • candidate 1: ‘class rr::SBMLReader’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.h:33:19: 33 | class RR_DECLSPEC SBMLReader | ^~~~~~~~~~ In file included from /usr/include/sbml/SBMLTypes.h:93, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:7: • candidate 2: ‘class SBMLReader’ /usr/include/sbml/SBMLReader.h:342:22: 342 | class LIBSBML_EXTERN SBMLReader | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp: In member function ‘virtual void SBMLFeatures_SBML_comp_fromString_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:63:29: error: reference to ‘SBMLReader’ is ambiguous 63 | std::string flattened = SBMLReader::read(sbml); | ^~~~~~~~~~ • there are 2 candidates • candidate 1: ‘class rr::SBMLReader’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.h:33:19: 33 | class RR_DECLSPEC SBMLReader | ^~~~~~~~~~ • candidate 2: ‘class SBMLReader’ /usr/include/sbml/SBMLReader.h:342:22: 342 | class LIBSBML_EXTERN SBMLReader | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp: In member function ‘virtual void SBMLFeatures_SBML_qual_fromString_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:74:9: error: reference to ‘SBMLReader’ is ambiguous 74 | SBMLReader::read(sbml); | ^~~~~~~~~~ • there are 2 candidates • candidate 1: ‘class rr::SBMLReader’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.h:33:19: 33 | class RR_DECLSPEC SBMLReader | ^~~~~~~~~~ • candidate 2: ‘class SBMLReader’ /usr/include/sbml/SBMLReader.h:342:22: 342 | class LIBSBML_EXTERN SBMLReader | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp: In member function ‘virtual void SBMLFeatures_SBML_spatial_fromString_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:87:9: error: reference to ‘SBMLReader’ is ambiguous 87 | SBMLReader::read(sbml); | ^~~~~~~~~~ • there are 2 candidates • candidate 1: ‘class rr::SBMLReader’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.h:33:19: 33 | class RR_DECLSPEC SBMLReader | ^~~~~~~~~~ • candidate 2: ‘class SBMLReader’ /usr/include/sbml/SBMLReader.h:342:22: 342 | class LIBSBML_EXTERN SBMLReader | ^~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp: In member function ‘virtual void SBMLFeatures_SBML_multi_fromString_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:100:9: error: reference to ‘SBMLReader’ is ambiguous 100 | SBMLReader::read(sbml); | ^~~~~~~~~~ • there are 2 candidates • candidate 1: ‘class rr::SBMLReader’ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrSBMLReader.h:33:19: 33 | class RR_DECLSPEC SBMLReader | ^~~~~~~~~~ • candidate 2: ‘class SBMLReader’ /usr/include/sbml/SBMLReader.h:342:22: 342 | class LIBSBML_EXTERN SBMLReader | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/unsupported_packages.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [293/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o -MF test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o.d -o test/model_analysis/CMakeFiles/test_model_analysis.dir/model_analysis.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-printers.h:122, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-matchers.h:49, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h:47, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest-death-test.h:43, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include/gtest/gtest.h:64, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:5: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_getConcentrationRateFail_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:505:16: warning: unused variable ‘S1_conc_rate’ [-Wunused-variable] 505 | double S1_conc_rate = rr.getValue("[S1]'"), | ^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_CVODE_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1056:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1056 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_RK4_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1086:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1086 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_RK45_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1117:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1117 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_NonZeroStarts_Gillespie_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1149 | for (int j = 1; j < s0result.CSize(); j++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_SimulateAccordingToDocs_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:1994:29: warning: unused variable ‘result’ [-Wunused-variable] 1994 | const ls::DoubleMatrix* result = rr.simulate(&opt); | ^~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp: In member function ‘virtual void ModelAnalysisTests_ResetAfterControlCalc_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2034:12: warning: unused variable ‘val’ [-Wunused-variable] 2034 | double val = rr.getValue("ucc(J0, Vm)"); | ^~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:6: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Dictionary.h:11, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunnerOptions.h:12, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrRoadRunner.h:6, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:608:108: required from here 608 | std::int32_t savedJacobianMode = Config::getValue(Config::ROADRUNNER_JACOBIAN_MODE).getAs(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const bool&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const bool&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const bool&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const bool&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const bool&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const long unsigned int&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const long unsigned int&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const long unsigned int&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const long unsigned int&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const long unsigned int&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const float&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const float&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const float&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const float&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const float&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const double&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const double&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const double&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const double&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const double&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h: In instantiation of ‘rr::Setting::getAs() const:: [with auto:29 = const unsigned char&]’: /usr/include/c++/16/type_traits:2890:26: required by substitution of ‘template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_other> std::__result_of_other_impl::_S_test(int) [with _Fn = rr::Setting::getAs() const::&; _Args = {const unsigned char&}]’ 2890 | std::declval<_Fn>()(std::declval<_Args>()...) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:2901:60: required from ‘struct std::__result_of_impl() const::&, const unsigned char&>’ 2901 | using type = decltype(_S_test<_Functor, _ArgTypes...>(0)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/16/type_traits:2906:12: required from ‘struct std::__invoke_result() const::&, const unsigned char&>’ 2906 | struct __invoke_result | ^~~~~~~~~~~~~~~ /usr/include/c++/16/type_traits:3401:12: required from ‘struct std::invoke_result() const::&, const unsigned char&>’ 3401 | struct invoke_result | ^~~~~~~~~~~~~ /usr/include/c++/16/variant:1145:14: required from ‘constexpr bool std::__detail::__variant::__check_visitor_results(std::index_sequence<_Idx ...>) [with _Visitor = rr::Setting::getAs() const::&; _Variant = const std::variant, std::allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, std::vector >, std::vector, std::allocator >, std::allocator, std::allocator > > > >&; long unsigned int ..._Idxs = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; std::index_sequence<_Idx ...> = std::integer_sequence]’ 1145 | return __same_types< | ^~~~~~~~~~~~~ 1146 | invoke_result_t<_Visitor, __get_t<_Idxs, _Variant>>... | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1147 | >; | ~ /usr/include/c++/16/variant:1972:44: required from ‘constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...) [with _Visitor = rr::Setting::getAs() const::&; _Variants = {const variant, allocator >, bool, int, unsigned int, long int, long unsigned int, float, double, char, unsigned char, vector >, vector<__cxx11::basic_string, allocator >, allocator<__cxx11::basic_string, allocator > > > >&}; __detail::__variant::__visit_result_t<_Visitor, _Variants ...> = long int]’ 1971 | constexpr bool __visit_rettypes_match = __detail::__variant:: | ~~~~~~~~~~~~~~~~~~~~~ 1972 | __check_visitor_results<_Visitor, _Vp>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 1973 | make_index_sequence>>()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:492:30: required from ‘decltype(auto) rr::Setting::visit(Func) const [with Func = rr::Setting::getAs() const::]’ 492 | return std::visit(function, value_); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:216:25: required from ‘As rr::Setting::getAs() const [with As = long int]’ 216 | return visit([&](auto &&val) { | ~~~~~^~~~~~~~~~~~~~~~~~ 217 | if constexpr (std::is_convertible_v) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 218 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 219 | os << "Cannot retrieve setting value: you have requested the value as a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 220 | os << "\"" << typeid(As).name() << "\", but the value of the setting is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 221 | std::ostringstream oss_val; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ 222 | | 223 | // if we have some form of negative signed integer | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 224 | bool isNegInt = false; | ~~~~~~~~~~~~~~~~~~~~~~ 225 | uint64_t uint64val = 0; | ~~~~~~~~~~~~~~~~~~~~~~~ 226 | int64_t int64val = 0; | ~~~~~~~~~~~~~~~~~~~~~ 227 | if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | { | ~ 229 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 230 | { | ~ 231 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 232 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 233 | } | ~ 234 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 235 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | } | ~ 237 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 238 | { | ~ 239 | if (*intValue < 0) | ~~~~~~~~~~~~~~~~~~ 240 | { | ~ 241 | isNegInt = true; | ~~~~~~~~~~~~~~~~ 242 | int64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~ 243 | } | ~ 244 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 245 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 246 | } | ~ 247 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 248 | { | ~ 249 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 250 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 251 | } | ~ 252 | else if (auto intValue = std::get_if(&value_)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 253 | { | ~ 254 | oss_val << "\"" << *intValue << "\", which is "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 255 | uint64val = *intValue; | ~~~~~~~~~~~~~~~~~~~~~~ 256 | } | ~ 257 | if (isNegInt) | ~~~~~~~~~~~~~ 258 | { | ~ 259 | // we cannot convert to an unsigned type | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 260 | if (typeid(As) == typeid(unsigned int) || typeid(As) == typeid(unsigned long)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 261 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 262 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 263 | os << oss_val.str() << "negative." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 265 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 266 | } | ~ 267 | } | ~ 268 | // if we have a double, with value greater than std::numeric_limits::max | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 269 | // and we try to convert to float, we have an error | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 270 | if (auto lValue = std::get_if(&value_)) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | if (*lValue > ((std::numeric_limits::max)())) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 272 | os << "\"" << *lValue << "\", which is too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 273 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 274 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | } | ~ 276 | } | ~ 277 | //Now check if the value is larger than the max value for the type: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 280 | (isNegInt && int64val < ((std::int64_t)(std::numeric_limits::min)()))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 | { | ~ 282 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 284 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 285 | } | ~ 286 | else if (typeid(As) == typeid(unsigned int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 287 | uint64val > ((std::int64_t)(std::numeric_limits::max)())) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 288 | { | ~ 289 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 290 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 291 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 292 | } | ~ 293 | else if (typeid(As) == typeid(int64_t) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 294 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 295 | { | ~ 296 | os << oss_val.str() << "too large." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 297 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 298 | return As{}; // must be present | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 299 | } | ~ 300 | return As(val); | ~~~~~~~~~~~~~~~ 301 | } else { | ~~~~~~~~ 302 | std::ostringstream os; | ~~~~~~~~~~~~~~~~~~~~~~ 303 | os << "Setting::getAs:TypeError. You have requested the conversion " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 | "of a \"" << typeid(decltype(val)).name() << "\" to a "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 305 | os << "\"" << typeid(As).name() << "\" but this Setting contains "; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 306 | os << "a \"" << inf.name() << "\". Note, see Setting::toString() " | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 307 | "for string representation." << std::endl; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 308 | // would prefer to throw std::bad_variant_access, but it seems | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | // it does not have the appropriate constructor (?) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 310 | throw std::invalid_argument(os.str()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 311 | return As{}; // oddly enough, this *is* necessary | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 312 | } | ~ 313 | }); | ~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/model_analysis/model_analysis.cpp:2148:5: required from here 2148 | EXPECT_EQ(rr.getSeed("gillespie"), rr.getIntegrator()->getValue("seed").getAs()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/Setting.h:278:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 278 | if (typeid(As) == typeid(int) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 279 | (uint64val > ((std::int64_t)(std::numeric_limits::max)()) && !isNegInt) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ [294/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/variable_stoich.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:33:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 33 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_ar_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:41:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 41 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_ar_const_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:49:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 49 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_simulate_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:57:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 57 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_set_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:68:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 68 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_set_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:87:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 87 | for (int i = 0; i < result.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:108:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 108 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_rr_full_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:130:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 130 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp: In member function ‘virtual void SBMLFeatures_variable_stoich_event_full_reset_restores_initial_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:150:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 150 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/variable_stoich.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ [295/538] /usr/bin/g++ -DBUILD_LLVM -DPOCO_CMAKE -DPOCO_ENABLE_CPP11 -DPOCO_ENABLE_CPP14 -DPOCO_HAVE_FD_EPOLL -DPOCO_OS_FAMILY_UNIX -DPOCO_UNBUNDLED -DSBMLTestSuiteRoot=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite\" -DSBMLTestSuiteSemantic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/semantic\" -DSBMLTestSuiteStochastic=\"/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite/stochastic\" -DSTATIC_RR -DSUNDIALS_STATIC_DEFINE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_XOPEN_SOURCE=500 -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/test -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/mockups -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml-test-suite -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/wrappers/C/.. -I/usr/lib64/llvm14/include -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/thread-pool -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/parallel-hashmap/parallel_hashmap -I/usr/include/libexpat -I/builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/redhat-linux-build/source -isystem /usr/include/rr-libstruct -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googletest -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock/include -isystem /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/googletest-master/googlemock -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -std=c++17 -DNDEBUG -std=gnu++17 -fPIE -MD -MT test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o -MF test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o.d -o test/sbml_features/CMakeFiles/test_sbml_features.dir/named_stoich.cpp.o -c /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp: In member function ‘virtual void SBMLFeatures_named_stoich_set_and_reset_Test::TestBody()’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:270:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 270 | for (int i = 0; i < run1.numRows(); i++) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrUtils.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:4: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h: In instantiation of ‘void rr::loadBinary(std::istream&, std::vector&) [with T = double; std::istream = std::basic_istream]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:440:27: required from here 440 | loadBinary(in, vectorVal); | ~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/rrStringUtils.h:334:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 334 | for (int i = 0; i < vsize; i++) { | ~~^~~~~~~ In file included from /usr/lib64/llvm14/include/llvm/PassRegistry.h:19, from /usr/lib64/llvm14/include/llvm/PassSupport.h:29, from /usr/lib64/llvm14/include/llvm/Pass.h:338, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMIncludes.h:37, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:25, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/test/sbml_features/named_stoich.cpp:12: /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib64/llvm14/include/llvm/Transforms/Utils/InstructionWorklist.h:117:22: required from here 117 | WorklistMap.clear(); | ~~~~~~~~~~~~~~~~~^~ /usr/lib64/llvm14/include/llvm/ADT/DenseMap.h:129:16: warning: variable ‘NumEntries’ set but not used [-Wunused-but-set-variable=] 129 | unsigned NumEntries = getNumEntries(); | ^~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:40: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:55:18: required from here 55 | llvm::Value* SetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetInitialValueCodeGenBase.h:93:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 93 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:39: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::SetValueCodeGenBase::codeGen() [with Derived = rrllvm::SetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* SetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/SetValueCodeGenBase.h:95:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector, int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 95 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:31: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterInitValueCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentInitVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetInitialValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesInitConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:57:18: required from here 57 | llvm::Value* GetInitialValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetInitialValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ In file included from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValuesCodeGen.h:16, from /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/LLVMExecutableModel.h:30: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetGlobalParameterCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetCompartmentVolumeCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesConcentrationCodeGen; bool substanceUnits = false]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetFloatingSpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h: In instantiation of ‘llvm::Value* rrllvm::GetValueCodeGenBase::codeGen() [with Derived = rrllvm::GetBoundarySpeciesAmountCodeGen; bool substanceUnits = true]’: /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:58:18: required from here 58 | llvm::Value* GetValueCodeGenBase::codeGen() | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libroadrunner-2.11.0-build/roadrunner-2.11.0/source/llvm/GetValueCodeGenBase.h:91:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 91 | for (int i = 0; i < ids.size(); ++i) | ~~^~~~~~~~~~~~ ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.C2vJZK (%build) Bad exit status from /var/tmp/rpm-tmp.C2vJZK (%build) Finish: rpmbuild libroadrunner-2.11.0-1.fc45.src.rpm Finish: build phase for libroadrunner-2.11.0-1.fc45.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-45-x86_64-1792804413.190438/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names ERROR: Exception(/var/lib/copr-rpmbuild/results/libroadrunner-2.11.0-1.fc45.src.rpm) Config(fedora-45-x86_64) 7 minutes 16 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot ERROR: Command failed: # /usr/bin/systemd-nspawn -q -M b0928d196a084abb928cec4acf8aaac3 -D /var/lib/mock/fedora-45-x86_64-1792804413.190438/root -a -u mockbuild --capability=cap_ipc_lock --capability=cap_ipc_lock --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --resolv-conf=off --resolv-conf=off --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/originals/libroadrunner.spec' Copr build error: Build failed